16,916 Topics

Member Avatar for
Member Avatar for santosh.garg

I am using command object in for loop on first time execution it inserts the record but the next time it gives an error Multible OLEDB error following is the code I use Set rssave = New ADODB.Recordset Set cmd = New ADODB.Command 'cmd.ActiveConnection = GCon 'cmd.CommandText = "prc_Invoice_Insert" With …

Member Avatar for vb5prgrmr
0
146
Member Avatar for HelloMe

Good day everyone!!! Pls dont kill me when a forum like this already exist but i was not able to find one through the search function. The purpose of this forum is, that skilled programmers will tell beginners how they managed it to become a programmer. Like what book was …

Member Avatar for Nerrisa
0
109
Member Avatar for francoise

I have a function and I want it to output one word in the current cell and one in the cell to the right (i.e., the next column). Is there a way to write this in VB? So, something along these lines (though this doesn't work): [code] Function test(word1 As …

Member Avatar for shiftingspanner
0
393
Member Avatar for santhanalakshmi

Hi, This is my coding......... Private Sub Command1_Click() Dim xlApp As Excel.Application Dim Wb As Excel.Workbook Dim ws As Excel.Worksheet Dim name As String Set xlApp = New Excel.Application Set Wb = xlApp.Workbooks.Open("E:\Projects\VB Excel to textfile\crse.xls") Set ws = Wb.Sheets(1) Open "C:\rolllist.xls" For Output As #1 For i = 1 …

Member Avatar for francoise
0
346
Member Avatar for deepak12333

hi I am in deep trouble to loose my job please help me I am working on a website where a user comes and login when it enters a pop up screen appears where it is written continue or remind me later now i am unable to handle this functionality …

0
130
Member Avatar for umesh8all

If anybody has some idea to make antivirus in VB6 then please reply with your ideas. well, i m thinking it is possible by Controlling the windows services but i m not sure. Pl. help me......

Member Avatar for Vineeth K
0
102
Member Avatar for shiftingspanner

Hi, I'm a bit of a numpty when it comes to programming so please excuse the silly question and I'm not even sure this is the correct forum to post it on but here goes... I'm trying to upgrade some VB6 to Visual Basic 2008. I'm trying to create a …

0
59
Member Avatar for xWiredx

good day.. i have a problem in accessing my Access database in network.. I made an inventory system... i couldn't run the program simultaneously in two PC. i got this error >>> "could not use.. file already in used"... i thought it can use in network? is my coding have …

Member Avatar for xWiredx
1
80
Member Avatar for alyssasiglos

I am doing an Attendance monitoring with PAyroll program... I have difficulty in doing the data report and data environment in order for me to print the table from the database.. Will someone help me out with it..? I think I need a tutorial. =)

Member Avatar for umesh8all
-1
102
Member Avatar for ImMoRtAl-

Ok scene i love all you guys/gals here on daniweb.com i will be giving you this one free. it's a program that lets you text cell phones from your computer for those nongeniuses it's pretty easy all you need is 1. a gmail user name 2. a gmail pass word …

0
56
Member Avatar for coollife

not allowing to surf anything in mozilla , so i want to close mozilla if somebody tries to open it. I have to do this by coding it in visual basic.

Member Avatar for vb5prgrmr
-1
54
Member Avatar for coollife

what i have done is i have allowed assume abc.com , apart from this if u enter any website in IE , the IE will get closed. For this to happen i have used Timer control and in timer control i am checking the IE toolbar contents . I am …

Member Avatar for vb5prgrmr
0
82
Member Avatar for patstarks

Hello, I have a .vbs file called Replace.vbs that: 1. opens a text file, test.txt 2. finds a string, orig_name 3. replaces string with new_name The file runs and works fine if I go to Start-->run-->cmd and type cscript replace.vbs ".\test.txt" "orig_name" "new_name" However when I go try to run …

Member Avatar for cguan_77
0
458
Member Avatar for Afi83

Hi experts I have a problem for data entry to grid like control. I have a relational database part of my data is for entering grades for each student. (I have a tables with student, courseStuJunc and course names). I want to make query with sql and show only the …

-1
67
Member Avatar for Frederick2

Been meaning to ask that question for a long time. With Visual Studio 6 I seem to recall I had to include iostream.h to use the CString class. Do I have that right? I think I also had to specify in a configuration dialog that I wanted to either link …

Member Avatar for Frederick2
0
302
Member Avatar for kimbsan.sande

HI Iam a student trying to develop an application in vb6 that can "download data from and upload data to any connected mobile phone" and iam only stack on the code that can do this so that i can get done with it. Request; can any one send me that …

Member Avatar for jonc
-2
75
Member Avatar for EntangledDesi

How do I go about coding the 'Calculate button' so that when a user is prompted to input a number into a Input box it will will calculate the square and square root of it? This is what I have so far. I'm pretty sure about the first part, but …

Member Avatar for EntangledDesi
0
86
Member Avatar for brando|away

Im working in visual studio. In a regular win32 console app i've written a class i want to use in other projects. Basically my question is what is the most efficient way to do this? (I just assumed it would be creating a header file) What kind of project do …

Member Avatar for Dave Sinkula
0
143
Member Avatar for coollife

1) how to check whether Internet explorer window is open or not using visual basic code 2) how to get the url of a Internet Explorer window. actually i got some code which works fine in getting url the problem is it will not get the url of the child …

Member Avatar for vb5prgrmr
0
45
Member Avatar for titansrealm

ok prof in college asked us to write a program for a simple gradebook. iv wrote it 3 times and still cant get it right. he wants it to be able to put in 10 names/ids and 10 grades,and get a listing of those grades getting an average. im butchering …

Member Avatar for jhai_salvador
0
90
Member Avatar for jagz

how do i male a gridview which has three fixed rows with some data in it. these rows are not got from the database but are made manually. Now when i click the add button in the footer a new row is created with a textbox and values entered here …

Member Avatar for kvprajapati
0
97
Member Avatar for PinoyDev

Good day! Any body uses a lynxgrid control because it only accepts the navigation key to move between cells. Does it allow moving between cells by the use of tab key.? If someone has an updated activex wiht the tab key support pls help me guys. Thank you guys for …

0
57
Member Avatar for coollife

Hi I am looking for an internet explorer project which blocks all the websites and in turn direct or opens a single website which i specify. Ex: in the code of the project if i give a website name abc.com whichever website u open in IE it may be google.com, …

Member Avatar for Vineeth K
0
297
Member Avatar for Carrots

Hi, I am for the first time using Strings in a program, and for some reason my program wont compile. When I use integers the program compiles and runs fine, but since I've changed it to use strings it's giving the following error (Visual Studio): [QUOTE] error C2511: 'Leads::Leads(std::string)' : …

Member Avatar for Ancient Dragon
0
140
Member Avatar for PinoyDev

Hi guys good day.! I have two numbers(105 & 210). I want the 105 to be left align in textbox1 and 210 to be right align in the same textbox at form load. Would this be possible.? Thank you guys for giving time with this post.! God bless us all.

Member Avatar for Vineeth K
0
262
Member Avatar for critalk

I would like to create a program to check dimension of piece part. My probram should be consist of interface form to get input from user and display mode to show the final result after program completely processed. Now I have completely created user interface form that is "Form1". This …

Member Avatar for critalk
0
274
Member Avatar for tinker

.. need help, i want to know how to identify the type of cable design if it is cross-over or straight-through cable using visual basic language...... just send your answer to my email <EMAIL SNIPPED> ...thank you very much!

0
55
Member Avatar for Se7Olutionyg

[CODE]namespace WebApplication4 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnAdd_Click(object sender, EventArgs e) { if (upImage.HasFile) { if (CheckFileType(upImage.FileName)) { string fielPath = " !/UploadImages/" + upImage.FileName; upImage.SaveAs(MapPath(filePath)); } } } bool CheckFileType(string fileName) { string ext = Path.GetExtension …

Member Avatar for mail2saion
0
122
Member Avatar for PinoyDev

Good day.! This will be my problem regarding on how to update the listview when one of the data in the field in sql server tables has been changed.basically, i have achieved the result by looping on the table continuesly with a timer. But is there any other way to …

Member Avatar for PinoyDev
0
279
Member Avatar for mpande

Good Day People I'v just finished my project in VB6.0 and now have to include reports for the program. I would like a button in VB6.0 to direct to a report in crystal report V85. I'm just not sure how the code on the button is supposed to be. Could …

Member Avatar for thappisalim
0
60
Member Avatar for tiffinlar

Hi, im needing visual studios 2008 for my uni work Does anyone know where i could possibly get it for free?

Member Avatar for abu taher
-1
124
Member Avatar for jeto
Member Avatar for Vineeth K
0
65
Member Avatar for PinoyDev

Good day to everyone. Im just able to finish my banking system with QB SDK integration. I just want to ask help, idea or any other way to make a mathematical operation in a single textbox.Like you can perform to add two numbers in a single textbox and display the …

Member Avatar for PinoyDev
0
173
Member Avatar for coolheadedguy

I am currently working on my final year project and i researching into building an Information system with SQL as database and ASP.Net as an interface? I just want to know if VB6 has the capabilities of been used as a tool to develop an Information system, integrating SQL and …

Member Avatar for kvprajapati
-1
101
Member Avatar for arshad115

Hi,I want to convert String^ to Int array or a char array.I am reading numbers from a file in GUI but the StreamReader Reads the Text in a String.I need to convert them to use the numbers. I have tried ToCharArray() function but it doesnt work! this function gives the …

Member Avatar for arshad115
0
2K
Member Avatar for Baillie11

Hi all I am creating an app that utilises and MS Access back end and queries it quite a bit at various times. What I would like to do is bring in an entire table and then query the row(s) i want as I need them. This is what I …

Member Avatar for TomW
-1
138
Member Avatar for NebulaM57

Hello, I am trying to read the contents of a text file from a website. I am running Visual Basic 6 (SP6). I need to add this code to an existing application written in VB6, so VB.NET is out. The file I want to read is on our website. It …

Member Avatar for vb5prgrmr
0
335
Member Avatar for kiran1241988

hii to all..i am currently completing my b.e in I.T. and for final year project i have selected to design a voice driven application for a cafeteria whr customers could book their orders on a pc placed at corner with help of their voice.I am aware that such an application …

0
36
Member Avatar for fauzanf

Hello My Friends, I have a question... How can i add a photo/picture into SQL Server 2000....? Need advice please.

Member Avatar for vb5prgrmr
0
173
Member Avatar for karimpepe

(a) Given the following program fragment in C or Java static int a = 3; static int f(int x, int y) { int z = a+x; ...; return ... } explain how the four variables (a, x, y and z) are accessed from within f at the instruction level for …

Member Avatar for vb5prgrmr
0
88
Member Avatar for Tank50

I using Visual studio 2008 to connect to SQL server 2000,while I run the application there is exception,but sometime there is no exception is generating.Below I mention the exception. [COLOR="Red"]Exception Error at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, …

Member Avatar for sknake
-1
133
Member Avatar for amarbir

I have a word file containing questions and those questions also contains images. I want to save all those question images in a separate folder in a sequential order even also same images and replace them one by one with a text in sequential order. So please tell me how …

0
37
Member Avatar for GibbsJeremyS

So I've been beating my head against a wall for the past few days trying to get this to work. I've tried countless samples from the net and even the MSDN sample. I just can't get it to work, Explorer NEVER seems to call my DLL. I recently created another …

Member Avatar for GibbsJeremyS
0
146
Member Avatar for helloshurite

i want a travel management system which has following details: ABC ltd. is a travel agency provides the services of reservation and cancellation of tickets for buses, trains and airlines. They require a travel management system to store the information regarding reservations and cancellations done by the passengers through them …

Member Avatar for abu taher
0
78
Member Avatar for kabirieram

Hi everyone. I am pretty new to Visual Studio .NET and would love to use it. I can understand most of the coding syntaxs in VB. Currently I dont know where to start using VB .NET. Anyone who can help me show me a bit of a highlight where to …

Member Avatar for SQL_dba
0
87
Member Avatar for leroi green

hey all, i'm working on a code that i want to start creating new classes with but i want to know if there's a more direct way to send the variables used in the form to a new class for storage. for example i've got this on a form... [code] …

Member Avatar for leroi green
0
150
Member Avatar for wallance

Hi, I am creating an Excel 2007 add-in using Visual Studio 2008 and I have a Windows Form that allows a user to select a date. What I want to do is store that date in the Workbook that the user saves so that the plug-in can reference that date …

Member Avatar for TomW
0
135
Member Avatar for frank.zappa

I'm working on a school assignment and I'm having trouble with radio buttons. I want something like this: [IMG]http://i43.photobucket.com/albums/e395/frank_zappa77/vb04f06.gif[/IMG] Where at least one radio button from each frame (in that example, the frames being 'Processor' and 'OS') can be selected. I've set up my application to look somewhat like this …

Member Avatar for frank.zappa
0
172
Member Avatar for Afi83

Hi there I have a problem with coding application with relational database in access. I have 3 table with relation to each other with one key. The tables are Faculty, Department and class. I relate each faculty to many departments and using the faculty id as foreign key in department …

0
61
Member Avatar for CRz315

Hello Everyone, I just started to program and I'm having a bit difficult with it. Can someone run this code and please explain to me these errors and why they are not compiling. Error 1 error C2228: left of '.setFirstName' must have class/struct/union c:\documents and settings\administrator\my documents\visual studio 2008\projects\projec314p\projec314p\project314p.cpp 71 …

Member Avatar for dkalita
0
96

The End.