16,916 Topics

Member Avatar for
Member Avatar for firoz.raj

i want if requisition no is already there message should come.requistion no is already there .Here is the code what i have written.i don't know why it is not working.any help would be greately appreciated. [code] Private Sub btSave_Click() Dim row As Integer, bEdit As Boolean Dim StrSql As String, …

Member Avatar for hkdani
0
132
Member Avatar for JP Romano

Hi - I have two MS Access forms - 1) WorkItems 2) MyItems WorkItems is the main form, and MyItems simply runs a query against a list of NT ID's and statuses to provide the user with a list of his/her incomplete workitems. What I'd like to do is have …

Member Avatar for JP Romano
0
104
Member Avatar for ryan311

all i want is change all the record in my table if the pcarrier="Credit" but my problem is only one data have been changes. . [code] Set rs = New ADODB.Recordset rs.Open "Select * from Soldto where cno='" & Combo1.Text & "'", cn, adOpenKeyset, adLockPessimistic If rs!pcarrier = "Credit" Then …

Member Avatar for vb5prgrmr
0
151
Member Avatar for kamae

Can anyone help me how to do this? It will test if it is valid or invalid. Input Output name_123 Valid name123 Valid 123name invalid 123_name invalid this will test if the variable name declared is valid or invalid.

Member Avatar for vb5prgrmr
0
86
Member Avatar for RahulV

[code=visualbasic] Private Declare Function Function_Name Lib "user32" () As Datatype [/code] I've found such lines used in many VB6 projects and tutorials. What is it? What actually is this used for? Are there more such function? How to find out more such function/properties? A detail explanation will be helpful and …

Member Avatar for vb5prgrmr
0
5K
Member Avatar for firoz.raj

can anybody tell me why i am getting type mismatch error in checkinput function.Here is the code what i have written.error is generatiing from bold line. [code] Private Function CheckInput() As Boolean Dim row As Integer, itemCode() As Integer 'At first always Test for Empty TextBoxes If Combo1.Text = "Dept …

Member Avatar for vb5prgrmr
0
178
Member Avatar for alaamido

[B]Hi all, I have a simple question in Add ins .I knew that add ins is supported by visual studio development tool kit .I wrote the following simple code to write to an active document in the [CODE]public void Exec(string commandName, vsCommandExecOption executeOption, ref object varIn, ref object varOut, ref …

Member Avatar for alaamido
0
105
Member Avatar for firoz.raj

Can anyone tell me .why i am getting error item cannot be found in the collection corresponding to the requested name or ordinal.error is generating on bold line.Here is the code what i have written. [code=vb] Private Sub Command1_Click() y = MsgBox("do you add this record", vbYesNo + vbQuestion, "message") …

Member Avatar for vb5prgrmr
0
102
Member Avatar for baby_1

it means the new exe file is a copy of old file ( but its neccessory to see content of old exe file and save the texbox not use filecopy in vb6)

Member Avatar for cguan_77
0
70
Member Avatar for winrawr

I've tried everything, and I just can't get my program to compile in visual basic. Someone tell me what I'm doing wrong? see attached image, are the includes in the wrong spot or WAT!??!?!

Member Avatar for winrawr
0
814
Member Avatar for matale

I created a dataset in the Dataset Designer by draging a database table into it, then I added a new select SQL query to the DataTable. Check the pics I think it helps explain it better. [URL="http://i43.tinypic.com/2qs7707.jpg""]http://i43.tinypic.com/2qs7707.jpg"[/URL] Now the problem comes when I try to use an ObjectDataSource, it sees …

Member Avatar for matale
0
323
Member Avatar for panyero2003

I am a newbie in Visual Basic. I have a database inventory and table products. The field for products table are productcode, productname and quantity. I want to search the product through product code using text box and the result will be display in the textbox for the productname and …

0
76
Member Avatar for disaster

Hi all, Im fairly (very) new to coding. now I have this school project I need to do for IT which is due tonight. Basicly what I have to do is count the amount of words and letters in a string using what we know, which is not much... What …

Member Avatar for verruckt24
0
126
Member Avatar for oscarresonable

Hello everyone, I have a project that the user can create/customize a report in a form,.. And in my project I have a form where user can choose a multiple tables, and also user can choose which fields they put in the report form..............., but the main problem is only …

Member Avatar for vb5prgrmr
0
103
Member Avatar for oscarresonable

Hello everyone, I have a project that the user can create/customize a report in a form,.. And in my project I have a form where user can choose a multiple tables, and also user can choose which fields they put in the report form..............., but the main problem is only …

0
57
Member Avatar for Henry Schubel

I'm not even sure where to post this, but since I wrote the code in VB6, maybe here... This is really more of an Outlook problem, but what I'm doing is programatically creating email. Here's the problem. My VB6/Access application is installed on a Vista machine, and the host machine …

Member Avatar for Henry Schubel
0
113
Member Avatar for CPPRULZ

Hello, I have been working a week on this program with this stupid bug that gives tons of errors. I have narrowed them down to 4 errors and 2 warnings but I have no idea how to fix the 4 errors. The program is supposed to have two user defined …

Member Avatar for siddhant3s
0
118
Member Avatar for nitu_thakkar
Member Avatar for nitu_thakkar
0
146
Member Avatar for RahulV

Hi, How can i open a PDF file in Form instead of using a shell to open it? Also i want to select some text in the opened PDF file and store it in a variable. Thank you.

Member Avatar for SlyMaelstrom
0
645
Member Avatar for ryan311

i have error to my code in the bold word! [code] Set rs = New ADODB.Recordset Set rs1 = New ADODB.Recordset Set rs2 = New ADODB.Recordset rs.Open "Select * from temp where pcode='" & txtEdit.Text & "'", cn, adOpenKeyset, adLockPessimistic rs1.Open "Select * from product where brandname='" & txtEdit.Text & …

Member Avatar for vb5prgrmr
0
336
Member Avatar for kamae

Hallo guys, it is me again. I need help how to create a simple backup file by just copying a file to another folder. Look at my code. [ICODE]Private Sub mnuBackup_Click() Dim SourceFile, DestinationFile As String On Error GoTo FileCopyFailed SourceFile = "D:\MyWorks\data\facility.mdb" DestinationFile = "D:\MyWorks\backup\facility.mdb" [COLOR="Red"]FileCopy SourceFile, DestinationFile[/COLOR] MsgBox …

Member Avatar for vb5prgrmr
0
97
Member Avatar for robertomason

I'm developing an inhouse application for my School Board. Visual Studio 2005 C# is a work in progress for me, so there's lot's I still don't know. The program I'm developing is meant to run on a network. Buy that I mean i execute the program from of a sever, …

Member Avatar for sknake
0
284
Member Avatar for green_cool7943

I have been trying to make a client server chat application with voice chat ...i'm using visual studio 2008 ...can any1 tel me the components or libraries used to implement voip in .net ?

Member Avatar for aqee_se
0
164
Member Avatar for baltimoreharps

Ok, I'm trying to Create A New File that doesn't exist yet. Basically, I want the user to enter the name of the file and then want VB to create and save the file (currently it will be blank until the user goes back in and reopens it and adds …

Member Avatar for baltimoreharps
0
108
Member Avatar for ryan311

im using adodb connection. . please help how can i load the data save to my table in database name SUPPLIER in mshflexgrid using textmatrix? thanks. . more power for daniweb.

Member Avatar for abu taher
0
74
Member Avatar for ryan311

it is possible? if the user in the running time, click the close button or the X button that we can see in the top of the form and then if the user click the close or X button message box will appear "you cannot log out"? how can i …

Member Avatar for vb5prgrmr
0
117
Member Avatar for fourstar

Hi all, I'm new here. Hello! I am a new comp. sci major and am required to take a beginning course which we learn c++. So far I've been hanging in, but I don't have the greatest teacher to learn from. I've had no formal programming language training. I've actually …

Member Avatar for tux4life
0
335
Member Avatar for SlyMaelstrom

This actually pertains to Visual Basic for Application in Access 2003, but I imagine that this forum should yield accurate information for a simple query such as this. Naturally, the event in the title does not exist. Not for the pre-defined text box control in VB, anyway. However, it is …

Member Avatar for SlyMaelstrom
0
155
Member Avatar for jaasaria

hi guyzz im using crystal report for my application... i have problem in making formula in details parts of my report.. i access two tables in making the details, but my problem is to display the amount by subtracting or adding the details amount.(for getting the running balance.) plss see …

Member Avatar for jaasaria
0
135
Member Avatar for PinoyDev

Good day.! I have created a menu editor with a name File. This file menu contains a popup menu which is(back-up database,restore database,logout). With this popup, i want to add an icon on the left sides all of them. Does any one there can help me pls. this is how …

Member Avatar for PinoyDev
0
464
Member Avatar for RahulV

Consider this VB6 source code [code=visualbasic] Public bc As Boolean Dim x As Long Private Sub Command1_Click() If bc Then MsgBox x Exit Sub Else Call exec End If End Sub Private Sub Command2_Click() bc = True Call Command1_Click End Sub Private Sub Form_Load() bc = False End Sub Public …

Member Avatar for hkdani
0
171
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Member Avatar for JamesCherrill
0
204
Member Avatar for wrxhokie

I have a C static library that I need to link to a new DLL i'm creating. I'm using Visual Studio 2005, and created a console application that outputs a DLL. But when I try to compile I get unresolved external linker errors: Error 2 error LNK2019: unresolved external symbol …

Member Avatar for wrxhokie
0
325
Member Avatar for emilio

hi I'm trying to execute a stored procedure which returns a datatable my code is: [CODE=asp.net]try { string conStr = WebConfigurationManager.ConnectionStrings[0].ConnectionString; SqlDataAdapter adapter; DataTable ans = new DataTable(); SqlConnection connection = new SqlConnection(conStr); SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.CommandText = "usp_GetUserDetails"; command.Parameters.Add("@UserName", SqlDbType.VarChar); command.Parameters.Add("@Password", SqlDbType.VarChar); command.Parameters["@UserName"].Value = …

Member Avatar for emilio
0
239
Member Avatar for dev_kc

I am not able to create object for word doc,this is the code i wrote,the object sets to nothing,when i run the code If blnChkFirst = False Then Set owordapp = CreateObject("Word.Applicatiion") Else Set owordapp = GetObject(, "Word.Applicatiion") If Err.Number <> 0 Then Set [COLOR="Red"]owordapp[/COLOR] = CreateObject("Word.Applicatiion") owordapp.Visible = True …

Member Avatar for cguan_77
0
87
Member Avatar for baby_1

Hello I wanta to create a program that send data between two computer with phone like( such as hyperterminal jobs). i created some programs that send data between each other only by a wire (com1) now can any one tell me how can i send a file between two computer …

Member Avatar for baby_1
0
85
Member Avatar for cVz

Hi There I get the following error when clicking on btn This code works perfectly on some machines but does not work on others [code=C#] protected void btnSave_Click(object sender, EventArgs e) { if (btnSave.Text.ToUpper() == "CREATE") this.InsertInvoice(); else if (btnSave.Text.ToUpper() == "SAVE CHANGES") this.UpdateInvoice(); } private void InsertInvoice() { String …

Member Avatar for sknake
0
167
Member Avatar for Elmismo

I try to connect by ODBC 3.51 and I get connection and I can get data from MySQL database and show it in my VB 2008 Express Edition, but when I want to AddNew or Update something it gives me an error property "Item" is "ReadOnly" (about my rs). This …

Member Avatar for vb5prgrmr
0
150
Member Avatar for fancy2

Hello, I need to create a Basketball Simulator Which requires two teams of five players each. Each player will have an offensive rank and [B]defensive rank (8-10)[/B] and a [B]shooting percentage of (55-80). [/B]The rankds rankds are randomly generated and displayed on the form. [COLOR="Red"]This part I have accomplished.[/COLOR] Once …

0
46
Member Avatar for venomocity

Alright my family of geniuses here is my new dilemma. In a card game I have created via VB6 I thought it would be great to spiff it up with music during game play. The problem however is I have no idea where to begin. I have read some posts …

Member Avatar for venomocity
0
170
Member Avatar for ctrl-alt-del

Hi all, I've been working with C# for some time now, even created a Mastermind-game yesterday to learn some stuff (Mastermind is a very nice training project by the way, I really had fun coming up with solutions) But while that I ran across a problem that I haven't been …

Member Avatar for ctrl-alt-del
0
172
Member Avatar for krispygrimace

First, I apologize for any concept errors about C++. I am pretty new. I am having trouble iterating through each node of a passed linked list. What I have right now is an implementation file with a few functions. The class is called listClass and has a private member function …

Member Avatar for jencas
0
181
Member Avatar for sal21

[url]http://www.x-rates.com/cgi-bin/cgicalc.cgi?value=1&base=EUR[/url] Based the link how to count element in table of this page? note: is the table where are all currency values tks. in vba please

Member Avatar for vb5prgrmr
0
125
Member Avatar for Asid

Hello to all I am working in VB6 and crystal report 9.0. I can pass parameters to a crystal report throgh programming but it does not solve my problem. I have successfully created a report template using template field objects. Now I want to to assign the values to these …

0
52
Member Avatar for kamae

I need help in using "[COLOR="red"]between[/COLOR]" sql function. I don't know how to use it. I am comparing two time using [COLOR="red"]dtpicker[/COLOR]. The time should only be acceptable if I input between 6:00am and 6:00pm like 7am, 8am,.........6:00pm. 5am below and 7pm above are not acceptable. In need help. . …

Member Avatar for kamae
0
95
Member Avatar for jwill55

Hello everyone..How do i create a user manual or the instructions of the software in vb6? Is it possible to pattern the manual with the manual of mysql or the like.. Another question. How do i populate my treeview in vb6 from a mysql database?? Any help would be very …

Member Avatar for debasisdas
0
1K
Member Avatar for Crul

I'm trying to compile C and C++ files into a single executable using gcc. I've gotten my code to compile and run properly using borland and Visual Studio but I can't figure out how to get it to compile with gcc. This is what I've been trying: gcc -c dtio.h …

Member Avatar for Salem
0
1K
Member Avatar for nagatron

Hallo to all, I am making an application that will target a particular link in the internet as if some is clicking it. I have a button target. Can anyone help me? please Regards, Neil

Member Avatar for javmedia
0
221
Member Avatar for aparnesh

My project needs to read records from a CSV file. The file contains 3 columns of data. Record is continuously being appended to the file by another application (about once every 6-8 seconds), and my application is to read the records and store the new ones. I am currently opening …

Member Avatar for vb5prgrmr
0
130
Member Avatar for rudasi

Hello, I created a program which converts . xls to .csv. The problem is that the .csv file does not have similar formatting such as the column width is reduced causing dates to show up as ######. Does anyone know how I can solve this formatting issue. Thanks, Rahul

0
62

The End.