16,916 Topics

Member Avatar for
Member Avatar for schnautzr

Hi...I came here because I had problems posting at the C# Corner. Hopefully this forum will actually post my question instead of deleting it once I hit post.... I'm working on homework. Yes, I have given it quite some effort, from experimenting to researching. I've even looked everywhere for a …

Member Avatar for schnautzr
0
259
Member Avatar for rudasi

Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks.

0
79
Member Avatar for venomocity

I'm working on designing a game, the problem now is that while I have a code for randomizing a number, its the same series every time. This isn't good for random, to know what you're going to roll before you hit the button sucks. Is there anything to help with …

Member Avatar for venomocity
0
126
Member Avatar for suzz

Hi, I am generating the reports using vb 6 as front end and ms-access as DB and i am using data report to generate the reports everything is working fine but when i click export and save in word doc, everything will go and save in that doc, but unfortunately …

0
42
Member Avatar for ryan311

im using textmatrix in my mshflexgrid my problem everytime e delete all the record the table did not update. . please help. .

0
109
Member Avatar for swatirao

Hi! Please help me .. urgent How do i using a Query in crystal report?... I tried using the select expert but I dont know how to go abt it... from srao

Member Avatar for benuu
0
120
Member Avatar for omega1

hi all, new here and doing my best with a bit of FTP code but have got stuck so would appreciate some help, thanks in advance... I have the following bit of code [ICODE] '------------------------------------------ 'Command format : [PUTFILES] = <local directory> ; <remote directory> 'Example : [PUTFILES] = C:\TEMP\ …

Member Avatar for Comatose
0
99
Member Avatar for firoz.raj

Can anybody tell me why i am getting error in the bold line. Application uses a value of the wrong type for the current Operation .? [Code] Private Sub Command2_Click() If (CheckInput) Then End If Y = MsgBox("do you add this record", vbYesNo + vbQuestion, "message") If Y = vbYes …

Member Avatar for debasisdas
0
245
Member Avatar for jreeson

Hi, I am developing an Inventory Management System using VB 6.0, and MS Access Database. I am getting an error: "data type mismatch in criteria expression" which sounds like a variable type mismatch. But i have checked and double checked my datatypes and they seem to match up. Here is …

Member Avatar for debasisdas
0
129
Member Avatar for fusi0n423

I have a project where I have to analyze 3 different hashing functions. I cannot get the cyclic shift hash to work with a bitwise OR. Everything looks fine to me am I doing something wrong? [code=cplusplus]int Hash::hash(string key) { unsigned int h = 0; for(int i =0; i < …

Member Avatar for nucleon
0
311
Member Avatar for ryan311

help how can i know if the user is not an admin i have combo box in my combo box have a user or admin additem if he choose admin then all i want is to validate if the username and password is for admin user this is my code …

Member Avatar for debasisdas
0
112
Member Avatar for ryan311

hi can anyone help me i have a billing system, how can i save the data to another table? using sql? may 1 table name is transac and all i want is if what the record have been save to my transac then it will save to another table name …

Member Avatar for ithelp
0
82
Member Avatar for jsimula

Hi, I have problem to change table design in access. I have imported data and table is like: Product; Name1; Name2; Name3...etc And i should change it be like: Product; Name; qty ..and all data.. Any good ideas how i will change this ir right shape..?

Member Avatar for jsimula
0
84
Member Avatar for Tamir09

Ok, Ive got a program that Im working on, where it is supposed to calculate some formulas that I have based on some user inputted data and display the data in the form of a table on the same screen, and then optionally show a graph of the data plotted …

Member Avatar for Tamir09
0
329
Member Avatar for vasunttfshimoga

Hello friends,i want a know who to rename the start in windows through the Application developed by VB 6.0.If u know means pls help......

Member Avatar for Tamir09
0
159
Member Avatar for ryan311

how can i update my table please help. . [code] MSHFlexGrid1.Clear MSHFlexGrid1.Rows = 2 MSHFlexGrid1.FormatString = "|Product Description | Unit | Price Per Unit | Quantity" Set rs = New ADODB.Recordset rs.Open "select * from temp", cn, 3, 3 Counter = 1 Do While Not rs.EOF MSHFlexGrid1.TextMatrix(Counter, 1) = rs!pcode …

0
59
Member Avatar for devilz

Can any one please help me?? Using VB 6.0 and Access DB. [code] ssql2 = "INSERT INTO JanuaryDay (JanRm_id) SELECT rmd_id FROM RmIdIndex WHERE rm_id= " & CLng(txtrostermid.Text) rsName.Open ssql2, conName, adOpenDynamic, adLockOptimistic rsmnth.Open "select * from JanuaryDay", conName, adOpenDynamic, adLockOptimistic rsmnth.MoveFirst Do While Not rsmnth.EOF ‘here is the problem. …

Member Avatar for selvaganapathy
0
133
Member Avatar for artmansoft

We have a Visual Basic script that communicates with an application through com. We like to translate it to Python and use win32com.client instead. We have everything working, except for the use of "Nothing" in the VB script for a couple of its function calls. What is the replacement of …

Member Avatar for jrcagle
0
1K
Member Avatar for arvin2006

hi everyone, i just want to ask if it is possible for the SQL INSERT INTO to LOOP? for example, insert new records in TABLE ten times with the same values (colum1,column2,column3,etc..) is there an alternative way instead of typing (INSERT INTO.. 10x) statement repeatedly. thanks.

Member Avatar for debasisdas
0
97
Member Avatar for zerugaze

I would please like to know the purpose of each of the following visual basic project file types. 1) FRM 2) BAS 3) FRX 4) OCX 5) CLS 6) VBP It will also be helpful if you may list the site where i may get this information.

Member Avatar for debasisdas
0
123
Member Avatar for thuku

wsup guys.I hav managed to split a string into indivudual words usin the split function. i have displayed the indivudual words in three textboxes.However since am developin a swahili english language translator, how do i perform a search in my database, to look out for this indivudual wordss and there …

0
63
Member Avatar for knowlep

Hi I'm new to this site and I hope I'm posting this in the correct forum. I'm after a macro that when clicked will open the "save as" diadlog box with the filename consisting of entries made into 2 "text Form Fields" which appear in the document itself. One would …

Member Avatar for cguan_77
0
105
Member Avatar for XZodia

I was able to install Visual Basic 6.0 in Vista Ultimate without problems... However, when I try to activate the ADO Data Control Component, it displays an error message (something concerning with the registry entries or some sort)... Then I tried reinstalling VB 6. The same thing happens again.. Can …

Member Avatar for Henry Schubel
0
164
Member Avatar for Fu51oN

Thanks in advance for any assistance you can provide me! When I perform a search in Google or Yahoo (i.e. using IE or Firefox) and click on the results, I get redirected to other websites that have nothing to do with the original search. Most of the pages I have …

Member Avatar for crunchie
-1
380
Member Avatar for SGiorgos

Hi, I am currently developing an application using vb.net 2005 and windows mobile 6 sdk,and sql server ce for my database. I try to connect to the database i created using the following code: I get an identifier expected error pointing the dot[.] .The code is this [INLINECODE] ("Data Source …

Member Avatar for clj1973
0
626
Member Avatar for thuku

hi guys?i need some help.i am developing a swahili, english language translator.i have an access database,which has 2 columns.namely(English word, Swahili word).which function in vb6 or vb.net can i use to break down an entire sentence into tokens, then translate the individual words directly from the database? thanks

Member Avatar for Comatose
0
83
Member Avatar for Digvijaysinh

hello every body, is there any mechanism in visual studio 2005 and c# to copy the remote server table and update the local database table with that copied table, please guide me in this topic, step by step to accomplish it, if no than please suggest me what i have …

Member Avatar for LizR
0
71
Member Avatar for ryan311

hi i have a problem puting a column header to my listview did not affair to my listview here's my code [code] Private mobjConn As ADODB.Connection Private mobjCmd As ADODB.Command Private mobjRst As ADODB.Recordset Private Sub Form_Load() Call SetupCustLVCols Set mobjConn = New ADODB.Connection If mobjConn.State = 1 Then con.Close …

Member Avatar for VIeditorlover
0
191
Member Avatar for dev_kc

I am wrking on a VB6 project,and I m new to this,I need to save the inputs values from the text boxes from the VB form,and using the command button,i need to save the data into the access database which i had created named Dtldb.mdb How do I use Data …

Member Avatar for debasisdas
0
80
Member Avatar for aiurovet

I am trying to mimic the behavior of Language Indicator pop-up menus (which pop-up when you do left or right mouse click on the Language Indicator), so the foreground window and focus do not change, and it is still possible to use keyboard to select or cancel menu (arrow keys …

Member Avatar for aiurovet
0
143
Member Avatar for jaasaria

hi guyzz... i have more than 1000 datas in my tables i loaded it in the listview using function.. but i have problem in loading it.. it consume almost 9 second to load all in the listview... i think it is in my coding.. i would like to minimize it. …

Member Avatar for samir_ibrahim
0
172
Member Avatar for dev_kc

I am developin a project in VB6,i need to save the data inputs in form to the Access Database,using the save button......... Plz help me Thnks in advance:)

Member Avatar for debasisdas
0
73
Member Avatar for the b

Hi, I would have replied in the last thread instead of creating a new one again but I have a dial up connection and dad doesn't like me tying up the phone lines at this time in the year. In the last thread I asked how to find the cubed …

Member Avatar for DEMWilson
0
184
Member Avatar for dollmar

hello my problem is simple but i cant solve it. i have textbox in form1 and i want the value in the textbox equeal to the value in label in form2..how can i do it.. my code sample is: form1.Text1.Text=form2.Label1.Caption its not working... anyone can help?

Member Avatar for dollmar
0
160
Member Avatar for wnmichaud

Help Me, Please..VERY URGENT I have this cenario: I have a form(NewcomplaintForm.vb that will collect informations for ComplaintTable(complaintid, ComplaintType, date, desc, status, recommendation, etc..); ComplainantTable(complainantid, last, first, etc..); OffenderTable(offenderid, last, first, etc..) DutyofficerTable(dutyofficerid, last, first, etc..) and insert data into these tables respectively. when NewComplaint, check for complainant last and …

Member Avatar for jbennet
0
138
Member Avatar for MJV

I need to create a table that will display different variables. Is there a canned table control I could use.

Member Avatar for ddanbe
0
81
Member Avatar for huaso

Hi! This problem is probably simple to solve but I can't find the answer. I neet to read the sheets that are on an excel file and put the names of them in an array. Can somebody please tell me how to do it? Thanks!

0
41
Member Avatar for adamsn

Hi all I need help. I have written 3 different exe files. What I would like to know is how do I link them to run from one package . Thank you very much. Nicky

Member Avatar for adamsn
0
302
Member Avatar for ITech

i am a newbie to the vb timer control..can any one give me few samples of vb timer usage and yeah one more thing how to make a progress bar using timer..:|

Member Avatar for marakulyo
0
113
Member Avatar for Gregg Wilson

Hi, I am a very old chemical engineer who just put away my slide rule. In a program I am writing, I have: Dim VV(30) As Double, SHR(30) As Double, SGR(30) As Double . . I = 1 Call PHYSPROP(VV(), SHR(), SGR(), TF(), 1, 0, 0, 0, 0, I) The …

Member Avatar for Comatose
0
235
Member Avatar for shanexuan

can anybody help me?currently i had wrote a coding for trash recycle system.to make thing more interesting,I wish to add simulation in that coding,however,I failed to do it,since my visual C++ is just still basic only.Hope U all can lend me a hand,please.thanks

Member Avatar for StuXYZ
0
106
Member Avatar for bushman_222

Hey all, I have this problem that I can't work out why it is doing it. I've got a client - server program. The client sends an request to the Server, which in returns it queries an access database and save the output as a file. Which it will then …

Member Avatar for bushman_222
0
187
Member Avatar for devilz

Hello reader(s), In table1 i have 3 columns named: emp_id, month, year. First i'm inserting emp_id from a recordset with validation from a text box. Problem is: In the same row i need to insert data of month and year column from individual text box. Code should like: insert into …

Member Avatar for ryan311
0
162
Member Avatar for devilz

Hello reader(s), Here is my code: [code] Private Sub Combo1_Click() Dim r conName.Provider = "Microsoft.Jet.OLEDB.4.0" conName.ConnectionString = App.Path & "\rosterdb.mdb" conName.CursorLocation = adUseClient conName.Open rsid.Open "select * from DayWiseRoster", conName, adOpenDynamic, adLockOptimistic ' in below loop i got the problem. it prompts "loop without do" Do While Not rsid.EOF If …

Member Avatar for cguan_77
0
136
Member Avatar for happyday09

Hello All. Can someone please help me? I have been at this code for two weeks. I am a newbie at creating the following code in VB6. I want to open a database (SQL), read from the data tables, and write the data into an existing excel spreadsheet cell by …

Member Avatar for happyday09
0
106
Member Avatar for Icebone1000

Doesnt matter if i build, rebuild, clean and do all again, if i want to debug it will ask again and build it before execute the program... I dont know what happened, I have been like a month away from my pc, and now i returned and visual studio(2005 pro) …

Member Avatar for Icebone1000
0
172
Member Avatar for chirayu

Hello I am beginner trying to program in Microsoft Visual Basic 2005. I would like to create a simple program that can sketch graphs of functions such as "y = 2x + 5." I have tried websites such as codeproject and codeguru to find the code but no success. I …

Member Avatar for Ezzaral
0
98
Member Avatar for brylezkie

Hi, can everyone help me to install VB 6.0 because I have encountered a problem as I install VB 6.0 Installer only reboot the system, because of updating the Microsoft Virtual Machine for Java. any response are my pleasure. thank you.

Member Avatar for cguan_77
0
68
Member Avatar for abcdou20

hi guys i need your help! i have two date picker and a vsflexgrid in my form then i select datepicker1 month of january datepicker2 month of february i want to display all the records in both month ... example: january 9 records febraury 10 records my sample code: [code] …

Member Avatar for abcdou20
0
90
Member Avatar for PolarClaw

Our instructor told us to make a scientific calculator using visual basic... though he didn't yet discuss on how... what i made was just a simple calculator that can perform the four basic functions... here is my codes... [code]Dim val1 As Double Dim a As Double, s As Double, m …

Member Avatar for jenmedina
0
143

The End.