Dim str As String
str = "sdrfsfsfsf"
str = Replace(str, Chr(0), "cf")
In the above example what does Chr(0) signify? How to use replace function and where to use it.?
dim NewStr
NewStr...
hi
i need to use a code written written dotNet in vb6
i have created a classLibrary Project in dotNet and i have built it , i got a dll file , a tlb file and an xml file
in vb6 , w...
Receiving
Compile Error:
Wrong number of arguments or invalid property assignment.
Code:
Image1.Picture = LoadPicture(strPicPath & "\" & strFileName)
Image exists
I have a .bmp or jpeg image in a an Excel cell, such as row 1 column "A" and.or on the office clipboard and I need to be able to save it to a file on my hard drive. Any suggestions will be gre...
I have an Excel VBA application that features the DataGrid control.
Is there any way - other than getting my (resistant) IT department to change the PC's security settings - to disable the ...
Hello Everyone,
I created an Office Web Components 11.0 Spreadsheet ActiveX object on my form. I can make it export into an Excel file fine, but I can't access the worksheets in it from the...
Hi to all , i want to hide a window, the CAPTION of the window is "Miniboss" , here is my source what i have and its NOT WORKING, I try to hide other window application and is work GREAT, but...
I'm using the DataGrid for the first time in an Excel VBA application.
I've managed to get my grid to display data from an Access table, via the ADO datasource control, but all my numeric d...
Hi,
I need to display fictive stock in a listbox. Using Visual Basic 6
The information is generated by 4 seperate queries.
The queries return both integer and decimal amounts.
I would ...
I got this error after i used upgrade wizard
"Fixed-length string size must fit in the buffer"
Private Type Record
rsRecID As String * 100
rsDate As String * 70
rs...
I am attempting to automate a pivottable in a form in MS Access. Unlike Excel, there does not appear to be any objects, properties, methods or events associated with the Access pivot table. ...
Hi,
I have an application which will ad controls dynamcally to the form.
the controls include an command button, comboboxes, datagrid control etc.
how can i add datagrid control to the...
Hi. I am converting the following code to drag a button into a ListView. In the MSDN code below the text is dragged from TextBox1 to TextBox2. I need to drag a large red button to a ListView, ...
Using CDO 1.2.1 how can we programmatically create and send a mail which uses an Outlook Custom Form stored in the Organizational Forms library ?
1) I have a VB6 program that opens up, writes data to, and then closes an Excel spreadsheet.
2) There will only be one Excel file name ever used, & this file will be overwritten all of th...
I have a module in Microsoft Access that runs code that creates PDF files and puts them in the correct directory. The report I'm making the PDF shows in color but the PDF will only generate i...
I have 5 text boxes. 1 for Length, 1 for Diameter, 1 for Specific Gravity, 1 for the Total and 1 for Diameter Calculation textbox. The order of textboxes are Length, Diameter, Specific Gravity...
Hey Everyone :)
For a project for school, I am required to use VB to create a form that will query an Access Database Table, Display the results of the query, make changes and save it back ...
Hi, I want to add the node layer from a coverage arc feature class having only the arc layer from that coverage. Anyone know how? I can only get the parent path for that coverage.
Thanx
I have a function for exporting data from a FlexGrid. However I have attempted to modifiy it to export with Unicode. (We have found when someone in China has there PC set to Chinese it only ex...
Can VB be used to cycle thru a list of questions or pictures on a single powerpoint slide? I'm trying to develop a game as a study guide for high school students. The game would have multipl...
can any body help me how to control the usb port in my pc by the mean of software by password protection so that no body can have access to usb port
i know one way we can disable it in the m...
hi al,
I have done a print sub routine which prints a data grid but the requirement is that the if the number of colums is more than 4 in the report the page orientatiob mst be in landscape...
Hi,
I have created one application in VB using Sombrero ocx (ocx used for Sybase connection) in a machine with Windows XP Service Pack2, and it is working properly if I execute it by double c...
Hello! Does anyone know how to easily make my Visual Basic 6.0 forms screen resolution independent? My biggest problem appeared with the newer wide TFT Monitors... Thank you in advance!