16,916 Topics

Member Avatar for
Member Avatar for willie.lemaitre.9

Good day all, and thank you for this awesome site! Please could you help? I have an app that I regularly improve, and have sold to many clients. Until just befoire Windows 7 all was fantastic, but now I am running into security / access errors! My app would check …

0
181
Member Avatar for willie.lemaitre.9

Good day all! And thank you for a great Site :). I have developed an applcation that also now has to print barcode stickers, using VB6. Is there anyone here that has done that before please?

0
187
Member Avatar for vikashpatel

Hi, I want to make my application for online registration based software,any customer register my applcation from anywhere. actually my applcation made in vb 6.0 and sqlserver 2005

Member Avatar for willie.lemaitre.9
0
300
Member Avatar for SaRa Ahmad

hi everyone i need to show the form in taskbar , i set the Property ShowInTaskbar to true but the form didnt show , any help ??

0
68
Member Avatar for DavidB

Yesterday (October 25) I spent a few hours working on a Word document. When printed out, it is six pages long. This morning (October 26) when I opened up the document to resume work on it, all my latest work was gone. The document property indicates it was last modified …

Member Avatar for Brown427
0
676
Member Avatar for CorpsMarshal

Paying Off Credit Card Debt Each month, a credit card statement will come with the option for you to pay a minimum amount of your charge, usually 2% of the balance due. However, the credit card company earns money by charging interest on the balance that you don't pay. So …

Member Avatar for Reverend Jim
0
400
Member Avatar for priyamtheone

I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the …

0
250
Member Avatar for tanatos.daniel

I want my XML file to look like this: <?xml version="1.0"?> <Student> <Name>Jax</Name> <Prenume>Teller</Prenume> </Student> I wrote the following code in C#: using System; using System.Xml; namespace ReadingXML2 { class Class1 { static void Main(string[] args) { XmlTextWriter textWriter = new XmlTextWriter(@"c:\users\danuts\documents\visual studio 2010\Projects\BD - XML\BD - XML\XMLFile1.xml", null); textWriter.WriteStartDocument(); …

Member Avatar for tanatos.daniel
0
393
Member Avatar for bhavya nomula
Member Avatar for debasisdas
0
89
Member Avatar for styleest

Please help, I am trying to insert but it is saying syntax error con.Execute ("INSERT INTO Contacts VALUES('" & lblRecordID.Caption & "', " & Replace(UserID, "'", "''") & ",'" & Replace(txtfolio.Text, "'", "''") & "','" & Replace(txtsname.Text, "'", "''") & "', '" & Replace(txtfname.Text, "'", "''") & "', '" & …

Member Avatar for debasisdas
0
105
Member Avatar for mkash

can any1 help me with my code because i cant delete and copy a folder but i can copy and delete other file extensions in my code. it would be a great help if you can help me with this cause im new in c++...thank you and godbless. code for …

Member Avatar for tinstaafl
0
275
Member Avatar for deceptikon

Hopefully I shouldn't need to explain what `gets` is or why it's easily one of the worst possible standard functions you could call in your code. In my personal opinion, the title for "holy shit, never use this function" is a tie between `gets` and `system`. I'll discuss the problem …

Member Avatar for rubberman
1
268
Member Avatar for robert.knighton.79

I tried using a solution to a very similar question here but it doesnt work for large files like the one I'm using. http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array The code from that question: Dim OpenAnswerFile As New OpenFileDialog Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String …

Member Avatar for Reverend Jim
0
4K
Member Avatar for limesight18

[CODE]dim H, M, S, AMPM as strings DTPicker1.Hour = H DTPicker1.Minute = M DTPicker1.Second = S DTPicker1.?????? = AMPM [/CODE] im having a problem on how i can change the DTpickers AM/PM in codes im trying to load a time from a database to DTPicker, ive Split the (field loaded …

Member Avatar for ricardo.driju
0
1K
Member Avatar for laura301019

Hi I am beginning by final year project which is an appointment system. I had planned to use Visual Studio and SQL Server for this but at the end of the year I have to submit my system to the uni on a disc, I was just wanting to know …

Member Avatar for dany12
0
170
Member Avatar for Sneaky Pete

Hello, I've got a question about vba in excel. I hope you can help me with this issue. In a sheet, I want to loop through column G to check if het value is "Yes" or "No" So for, no problem, but... When a cell in the loop has got …

0
63
Member Avatar for archangel1177

Hi all, I have an interesting challenge that so far I have not been able to correct. What I have is a workbook that tracks orders and when they are recieved the sheet then copies the row that was completed and then it moves it to a second sheet for …

0
105
Member Avatar for Saboor880

Explain me what is meant by form level variables in visual basic? and how to declare these variables?

Member Avatar for tinstaafl
0
56
Member Avatar for whatthebobo

I have an assigment where I am to create a program to calculate BMI. I wrote the program and would like to have someone check it to see if there are any mistakes I need to correct. //Declare variables double weight, height, bmi = 0; //Prompt user for weight in …

0
114
Member Avatar for jomared145

'I have a problem in database Program in VB 6.0 that connects to Ms access which the field datatype is OLE object. ' here is my problem 'when i tried to run my program i always got this error message '"System Error &H80040E00 (-2147217920)" 'here is my code for uploading …

Member Avatar for nkwuda.mathias
0
261
Member Avatar for DM Galaxy

As I watch one of the videoon net on screen recorder. I watch that by adding reference > com > hycam2 is visible. (this is the important else I can't create my app) So I browse the hypercam2 Directory. And try to add the file: hycam2.tlb But pop up msg …

Member Avatar for DM Galaxy
0
371
Member Avatar for Mr.LK

'I have a problem in database Program in VB 6.0 that connects to Ms access which the field datatype is OLE object. ' here is my problem 'when i tried to run my program i always got this error message '"System Error &H80040E00 (-2147217920)" 'here is my code for uploading …

0
60
Member Avatar for xirosen

[CODE]Hi.... can everyone help me pls in how to make program using visual basic that can Preview documents before printing.. Help me pls.. thanks...[/CODE]

Member Avatar for babrad
0
2K
Member Avatar for EXTRA_RICE

i am using vb2010 express. can u pls tell me wat is the code for delete?bcoz when im doing delete my database is not updating after i exit.i can add item in database but i cant delete it.any help?thanx guys? hope u understand my problem.

Member Avatar for Reverend Jim
0
154
Member Avatar for alina.nazchowdhury

I get lots of error in my program like: Warning 1 WithEvents variable 'Close' conflicts with sub 'Close' in the base class 'Form' and should be declared 'Shadows'. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.Designer.vb 321 23 WindowsApplication1 Error 2 Expression is not a method. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.vb …

0
114
Member Avatar for chumz.delossantos

hi PL masters can you pls help me with my codes for my thesis about combo box i'm a BSIT4 student in Leyte. i have a combo box named "category" the list below the box are "date" and "name" if i click date then two text box would appear text1 …

0
58
Member Avatar for Xakzi

Hello! Sorry for the bad article title, was not sure what to name it since I couldn't figure out anything good to name it, that would be near my request. Let me begin.. I code with Visual Studio 2010 with C# Windows Form Application. I code everything in combobox1 and …

Member Avatar for Xakzi
0
118
Member Avatar for bullet_1

I am using the following code to create a log file but getting an error "User-defined type not defined" Help me Thanks in advance Sub main() Dim dDate As Date Dim boDP As busobj.DataProvider 'error occured Dim sLast As String Dim sFileName As String Dim sDir As String Dim dTime …

Member Avatar for bullet_1
0
273
Member Avatar for Xakzi

Hello! I come here with a tricky question and I do not know how to code it at all. First off, I am coding in Visual Studio 2010 C# Windows Forms Application I need someone to help me code the following example: I have a text file which includes only …

Member Avatar for Xakzi
0
231
Member Avatar for Mafiamanandre

Hi all, I have a form in visual basic with about 62 textboxes. On this form is two columns of textboxes. Textbox 61 -62 is a total textbox for each column. When the user types in digits to 60 textboxes the program must add it up automatically to textbox61/62. My …

Member Avatar for Reverend Jim
0
951
Member Avatar for Sharad_2

cnsrvlist3.open "Provider=SQLOLEDB.1;Data Source="& strDrserver &";Integrated Security=SSPI" msgbox("ABC") msgbox(cnsrvlist3.state) cmdsrvlist3.activeconnection = cnsrvlist3 I am trying to check the state of connection, The code works fine if the connection is fine but when any Database server is down then in that case the state should come as 0 instead of that it …

0
41
Member Avatar for SpectateSwamp

Do you use it. I do. All the time. My main program is made to be killed and restarted lots. With the short-cut link in the upper right I can start and stop the prog with little movement. When you use just one app for everything. It should reside at …

0
141
Member Avatar for sonunclejalil

my problem is i want to save a date from label in vb to field in ms access but i do not know that problem with my coding, the error appear is run-time error 91 object variable or with block variable not set, can anyone check my coding? Dim Con …

Member Avatar for sonunclejalil
0
531
Member Avatar for Abhishek_Singh

Hi there, This is the code for opening various files using vb applicaton but here i need to provide the path for file. i want to open any file using vb app using Open Dialog control. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation …

Member Avatar for bullet_1
0
289
Member Avatar for KushMishra

Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her …

Member Avatar for KushMishra
1
192
Member Avatar for Adnanhussainturki

hi iam a noob in vb programming and iam making a vb.net program to create a database of my shop... the code of my program is Public Class form1 Private i As Integer = 0 Private myCoolFile As String = "C:\test" & i & ".txt" '// your file Private Sub …

Member Avatar for tinstaafl
0
159
Member Avatar for tipdarath.phal

what code should i write in VBA if i want the textbox to show the same as my label caption?

Member Avatar for Reverend Jim
0
156
Member Avatar for carolyn85

please help write a program which displays a multiplication table using visual basic 6.0 can someone send me database tutorials of visual basic 6.0

Member Avatar for Stuugie
0
82
Member Avatar for DM Galaxy

I am in wonder. I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop. I use path and destination method in this but they say bitmap cannot be converted into …

Member Avatar for DM Galaxy
0
471
Member Avatar for amitash

Hi, I want to write a VBA macro in Word that open an Excel file, save that Excel file to another file (to another name), and then clear all content of the original Excel file. How to do that? Thanks!

Member Avatar for Dieter123
0
499
Member Avatar for iamcreasy

I want my program to throw exception on console window. But when exception occures Microsoft Visual C++ Runtime library dialog box shows up. What can I do to stop visual studio from stopping execution of my program when an exception occues and let my program handle the exception? I am …

Member Avatar for deceptikon
0
438
Member Avatar for jakub.peciak

Issue to read some part of XML file. Here is my XML file: <Report> <orders> <order savedby="manager" time="12:33:09"> <header saledate="04/Oct/2013" saletime="12:33:09" reqtime="12:33:09" /> <customer name="-" accname="123465" /> <payments> <payment transid="1" method="7" vposuser="manager" cardtype="" value="2.95"></payment> </payments> <totals deliverycharge="" splitdelchgstore="" splitdelchgdriver="" sercharge="0.00" /> <products> <product type="cookbook" qty="1" prodid="10000564" listprice="0.00" sellprice="10.00"> <stock /> …

Member Avatar for ravikash123
0
170
Member Avatar for jared.geli

hi I'm having problems in my crystal report where all the selected rows in my datagrid will show up in my crystal report but instead it showing me an exception selectcommand.connection has not been initialized here's my code in my form where the datagrid is: Dim cmd As OleDbCommand = …

Member Avatar for jared.geli
0
348
Member Avatar for G_S

Hello. I am currently studying database design at my local university. They use Microsoft products there (Microsoft SQL Server 2008/2012), but we can't use them at home because of the licensing. I have two questions: 1 - Is there anything in the world of Open Source that I can use …

Member Avatar for Reverend Jim
0
226
Member Avatar for locsin

greetings! When i First start my VB6 program with data report it works fine. The report displayed directly. but when i try to open other programs in other directory and then when i re-run my program in data report operation a msgbox appear "Please Enter MS Jet OLE DB Initialization …

Member Avatar for yokoshima.mur
0
3K
Member Avatar for saintrenz

Please Help: I am making an internet Cafe system that will login his/her account If user still have time left on his account(database) then login success and countsdown hours and minutes to zero if user logsout it will update the database "timeleft" of the current user If 5 minutes remaining …

Member Avatar for Hazuan Nazri
0
1K
Member Avatar for bullet_1

I can search and find text in word doc through vba but I dont understand how to search images Its a big problem to me Can anybody help me thanks in advance

Member Avatar for Zephaniah
0
126
Member Avatar for alina.nazchowdhury

i made on screen keyboard program with visual basic 2008, i run it, its working great, i save it and then i wanted to open it again to review it, but its only showing me the code, i can not run it anymore. Anybody give me an answer to my …

0
108
Member Avatar for Abhishek_Singh

Private Sub Command1_Click() Shell ("cmd.exe") End Sub Private Sub Command2_Click() Shell ("calc.exe") End Sub Private Sub Command3_Click() Shell ("explorer.exe") End Sub Private Sub Command4_Click() Shell "winver.exe" End Sub Private Sub Command5_Click() Shell "C:\Program Files\Windows Media Player\wmplayer.exe" End Sub above code is able to open the pre-installed windows programs. But now …

Member Avatar for Assembly Guy
0
194
Member Avatar for ikocrush

I have problem connecting vb 6.0 to wamp(mysql, myphpadmin) server on my LAN. It connects to server on the same laptop using localhost but cannot be accessed by other Pcs using ip address. What could be the problem? Please, i need your help on this. OS=windows 7. below is my …

0
73

The End.