11,868 Topics

Member Avatar for
Member Avatar for mustang12

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 …

Member Avatar for kinwang2009
0
164
Member Avatar for KhairilSyahrin

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.

Member Avatar for KhairilSyahrin
0
143
Member Avatar for realheaven

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!

Member Avatar for vb5prgrmr
0
94
Member Avatar for gurupts

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

Member Avatar for vb5prgrmr
0
123
Member Avatar for ChocoCrisp
Member Avatar for abu taher
0
103
Member Avatar for PM312

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 + …

Member Avatar for AndreRet
0
202
Member Avatar for ChroNoS

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 = …

Member Avatar for Teme64
0
5K
Member Avatar for KhairilSyahrin

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 …

Member Avatar for KhairilSyahrin
0
262
Member Avatar for RoyMicro

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

Member Avatar for xpentor
0
254
Member Avatar for amass

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# …

Member Avatar for Ionelul
0
293
Member Avatar for WildBamaBoy

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 …

Member Avatar for vb5prgrmr
0
141
Member Avatar for Geek_Cyborg

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

Member Avatar for eng.jawad
0
117
Member Avatar for revpree

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 …

0
46
Member Avatar for KhairilSyahrin

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 …

Member Avatar for vb5prgrmr
0
78
Member Avatar for rrush

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 …

Member Avatar for AndreRet
0
120
Member Avatar for KhairilSyahrin

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 …

Member Avatar for AndreRet
0
96
Member Avatar for Member 784548

i want a search command for searching a data in document or database which search any word in the document

Member Avatar for kinwang2009
0
63
Member Avatar for Keegan200

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 …

Member Avatar for kinwang2009
0
101
Member Avatar for Member 785440

[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 …

Member Avatar for kinwang2009
0
1K
Member Avatar for Graham Morley

Is there a good way to make vba code secure other than using a password, which I understand is quite easy to break?

Member Avatar for Graham Morley
0
93
Member Avatar for 082100
Member Avatar for masterjiraya

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 …

0
111
Member Avatar for M.rahul

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, …

Member Avatar for AndreRet
-1
167
Member Avatar for jhai_salvador

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. …

Member Avatar for AndreRet
0
1K
Member Avatar for Tekito

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 …

Member Avatar for pweegar
0
220
Member Avatar for patrickm129

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 …

Member Avatar for patrickm129
0
206
Member Avatar for horserider

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..

Member Avatar for Pilgrim-Last
0
108
Member Avatar for vinotharan

[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 …

Member Avatar for tesuji
0
335
Member Avatar for nanosani

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 …

Member Avatar for cadmarysoft
0
116
Member Avatar for Smart System

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 ?

Member Avatar for vb5prgrmr
0
81

The End.