16,916 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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...... | |
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 … | |
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 … | |
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. =) | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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)' : … | |
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. | |
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 … | |
.. 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! | |
[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 … | |
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 … | |
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 … | |
Hi, im needing visual studios 2008 for my uni work Does anyone know where i could possibly get it for free? | |
what code do use to link a child form to a parent form under a radio button? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello My Friends, I have a question... How can i add a photo/picture into SQL Server 2000....? Need advice please. | |
(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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.