11,868 Topics
![]() | |
If I hard code search criteria i.e. adodc1.recordset.find "car Like 'corvete'" will work. But if i try to use an entered sting in text box on a form and assign it to a string variable with wildcards in the "find" it does not work. WORKS: Dim test As String test … | |
Anyone know how to implement a timer code? What do i have to do in order to implement a timer? And the timer is one minute and then the vb program continues. thank you so much. | |
Hi all, i have a trouble convert Text (have form of Hex already e.g 05 07 3F 04. ..) to Hex then i can calculate those number to draw graph with them. many thanks for any help or instructions! | |
How can i change my vb exe file in to a installable file. That contain the ms access database as back end. Anyone can help me.. Thank you for any help | |
anyone knows where i can DL it??...i just prefer video tutorials than ebooks..hehe | |
hi I am trying to add numeric text with [B]thousand seperater format [/B]in three textboxes. Problem is amount after thousand seperate get ignored i.e if text1.text is 1,250.00 text2.text is 3,500.00 and text3.text is 2,100.00 the result in text4.text is 6.00 instead of 6,850.00 Text4.Text = Text1.Text + Text2.Text + … | |
I am using the following function to convert ascii to hex, but it is not working properly. [CODE]Private Function HexString(EvalString As String) As String Dim intStrLen As Integer Dim intLoop As Integer Dim strHex As String EvalString = Trim(EvalString) intStrLen = Len(EvalString) For intLoop = 1 To intStrLen strHex = … | |
Hi, I'm a student from Malaysia and I am trying to do a program where the program will run and then when it reaches a certain part, it will show a message and pauses the program until the user clicks done/continue/yes button at the message. Flow: Programme running-->Message-->"Please close all … | |
Hai In visual studio 2008 designer, the buttons tab controls etc are having smooth corners. But when we run the application the corners are sharp and edges are not smooth. Is there any property in controls to smooth edges and corners? Thank you | |
Can u pls help me solve this problem iam using vb6.0 and sql 2000. when i insert the currnt date (as Now()) in the dbase with a colunm datatype date/time, it inserts the date 01/01/1900. In MSAccess it works by putting a # b4 and after the date e.g. #25/06/2010# … | |
How do I get the same result from this Python script in Visual Basic? [CODE=Python] import os username = os.getenv("USERNAME") desktop = "C:\\Documents and Settings\\%s\\Desktop\\" % username print desktop #Result = C:\Documents and Settings\<MY USERNAME>\Desktop\ [/CODE] I already have this, [CODE] Public Shared username As String = My.User.Name 'Gives computer … | |
Hello, i need function to Convert Hex numbers to Decimal.. My string is in this form 10,11 and i want to convert it in this 1A,1B.. Thanks | |
Hi, Can anyone please help me in this. i want to retrieve a view in VB.i was able to do with the below script when using tables,but not with view [code] Dim strSQL_revenue As String Set rs_revenue = New ADODB.Recordset strSQL_revenue = " select * from dbo.PLAN_PNL_INTERUNIT_REV" With rs_revenue .Source … | |
Can anyone teach me how to calculate a mouse click? I need to do a data insertion into MSFlexGrid. The flow is like this: 1:the data will read a text file and input all the data into column 0 2: when user wants to input again, it will be put … | |
Simple little exercise using the MonthView Date Picker. I'm trying to loop through print all dates from dateclicked to end of month. I'm getting stuck on the comparison value to define the end of the month. Keep getting the "argument not optional error" or and infinite loop. [code] Private Sub … | |
I am trying to incorporate MSFlexgrid to read all the data from a text file but i am currently having a problem with a line Below is the coding Private Sub Command1_Click() MSFlexGrid1.Cols = kiraCols + 1 Open App.Path & "\master_data.txt" For Input As #1 ' linecount = 1 Do … | |
i want a search command for searching a data in document or database which search any word in the document | |
I want to create an activation window to add onto clients pc so if they dont pay their account within a certain period the activation window will pop up and not allow them access to the pc until their account is paid and we will provide them with an activation … | |
[CODE]Private Sub Command1_Click() Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset rs.Open "select *from Payroll", Cn, adOpenDynamic, adLockOptimistic rs.AddNew rs!Date = Text1.Text rs!Emp_ID = Combo1.Text rs!EmpName = Text2.Text rs!Father_Husband = Text3.Text rs!Designation = Text4.Text rs!PANNo = Text5.Text rs!PF_PENNo = Text6.Text rs!HRA = Text7.Text rs!Basic = Text8.Text rs!TA = Text9.Text … | |
Is there a good way to make vba code secure other than using a password, which I understand is quite easy to break? | |
How To Click A Botton On Form1 From Form2 ? | |
I have a dvd copy of microsoft visual studio 2010. And I wanted to install the full software programming including F# but I stuck up on the first place... I tried to isolate the problem so I tried to copy the whole dvd and paste in my drive D: but … | |
Hi I'm new to Visual basic. I'm getting an runtime error 424:object not found,When i'm validating between dates in crystal reports.Please correct me where i did wrong.. [CODE]Private Sub Command1_Click() Dim f_date As Date Dim t_date As Date 'From_Date and To_Date Validation f_date = Trim(Format(DTPicker1.Day, "00")) + "/" + Trim(Format(DTPicker1.Month, … | |
Yoe guys, need your help.. I want to know on how to setup my client computers and the server so they can connect to sql server 2005 Developer Edition. Client computers are Windows XP. Server is Windows Xp installed with a SQL Server 2005. They are on the same Workgroup. … | |
I'm about to write a new program in Visual Basic. I have Visual Studio 6.0, but it's limitations are starting to become a problem and I'm wondering about trying Visual Studio 2008 Express (unfortunately purchasing the full version is not an option). I would hate to get halfway through and … | |
Hello, I am making a *.vbs file and I need help putting two codes in. The first code is to make a .txt file named "Hello World", with the text in the .txt file "Time ... (your time)-Test123" Code: [CODE]myfilename = "\Hello World.txt" MakeHelloWorldFile myfilename Sub MakeHelloWorldFile (FileName) 'Create a … | |
Hi.. How to control the gpedit from my vb6 application.. i want to control the GP edit from my vb application... plz help me with coding.. | |
[CODE]#include <iostream> #include <string> using namespace std; class w { public: void InsertRow(String* myConnection) { // If the connection string is null, use a default. if (myConnection->Equals(S"")) { myConnection = S"DRIVER= {SQL Server};SERVER=MyServer;Trusted_connection=yes;DATABASE=idb;"; } OdbcConnection* myConn = new OdbcConnection(myConnection); String* myInsertQuery = S"INSERT INTO test (id)"; OdbcCommand* myOdbcCommand = new … | |
I have installed Visual studio and then after that I installed msdn library from a network location on my of my client pcs ... but what I get is when I press F1, it says that the external help should be installed and then tells me to insert the msdn … | |
What is wrong in this code ? [code] rs.Open " update TblName set FldNum=" & text1.Text & " where ID_FldName=" & Text2.Text , db, adOpenDynamic, adLockOptimistic [/code] Knowing that FldNum ---> Data type (Number) ID_FldName ---> Data Type (AutoNumber) And What the correct code ? |
The End.