16,916 Topics

Member Avatar for
Member Avatar for rajeshap

Hello, I am Using VB 6.0 . Please Help me to get the codes to Create Backup and Restore in SQL server 7.0. I request Some one to help me at the earliest. Rajesh

Member Avatar for AndreRet
0
241
Member Avatar for Danny1994

Hello programmers out there :) Im currently having problems with allowing the "-" in my TextBox. [B](Im using Visual Studio 2010)[/B] Im kinda new to programming, thats why this code looks messy. [CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08) && (e->KeyChar != 0x6D)) e->Handled = true; …

Member Avatar for Danny1994
0
330
Member Avatar for daniwaber

Hi, After I packaged the project and deployed it on another computer without VB6 installed on it, Every thing works properly except the Reports. when I try to call the Report it gives error "Application-defined or Object defined error" and Report does not open. If you install VB6 this problem …

Member Avatar for AndreRet
0
2K
Member Avatar for Jayson83

Below is my code to call the records or save/update to the database which works fine [code] Private MasterConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Info.mdb;Persist Security Info=False;") Private daMaster As OleDb.OleDbDataAdapter Private dsMaster As DataSet Private dtMaster As New Data.DataTable [/code] I have been trying to add First Previous Next Last …

Member Avatar for Jayson83
0
71
Member Avatar for eskimo456

Hi there Sorry wasn't to sure where this was supposed to go. I am interested in the lower level of computing and was wandering how to build a language, or program such as visual studio? I have gathered it goes from the higher language and gets compiled into assembly/machine code …

Member Avatar for MosaicFuneral
0
196
Member Avatar for Pemike2

I am a young programmer faced with a situation. I need help in getting a vb application to be an internet based system. Please help anybody

Member Avatar for AndreRet
0
114
Member Avatar for JD69

I have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control? Thank You

Member Avatar for kvprajapati
0
69
Member Avatar for jhai_salvador

Hi! I just want to share you this code snippet of mine which I use always in my application. This code snippet will help you debug your code easily. It will also help you locate where the error occurred and it also create an Error log located on your project …

Member Avatar for jhai_salvador
0
1K
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I set up a connection string to my server and take the data from there. I am using gridcontrolview and put my "product" table in here. It contain 4 column: systemid, system, actualid, description. I want to display …

Member Avatar for kvprajapati
0
105
Member Avatar for dre-logics

I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As …

Member Avatar for kvprajapati
0
116
Member Avatar for JD69

Hi i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520 …

Member Avatar for JD69
0
108
Member Avatar for JD69

Is there a way i can write this into a command button? In a CMD Prompt if you type: nslookup set type=mx set timeout=30 emailaddressdomain.com it will give you the outgoing mail server address is there a way i can write that into a command button and display the results …

0
66
Member Avatar for sivakumar.k

I am getting this error RC2104 : undefined keyword or key name: DS_3DLOOK while build the taskman using visual studio 2005, the code is as follows: // Microsoft Visual C++ generated resource script. // //#include "Winuser.h" #include "resource.h" //#include "windows.h" //#include "winres.h" #define APSTUDIO_READONLY_SYMBOLS #define DS_MODALFRAME 0x80L ///////////////////////////////////////////////////////////////////////////// // // …

Member Avatar for maba001
0
455
Member Avatar for Doublse Six

Here is the error i get Object reference not set to an instance of an object and also index 0 is out of range parameter name: index [CODE]Public Class Form1 Dim int As Integer = 0 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack() …

Member Avatar for Doublse Six
0
255
Member Avatar for brutang

I had no idea what to title this, so please excuse the stupidity of it. I've written a WPF application that runs as an xbap on my intranet server. What I want to be able to do is have the IT staff update users credentials and have it save to …

Member Avatar for AndreRet
0
83
Member Avatar for eprology

i have the same problem but nit that similer the other function works ok and no error only this function of ftp. pls help me [code]Private Sub Form_Unload(Cancel As Integer) Timer1.Enabled = False FtpHDB.CloseConnection FtpPDB.CloseConnection FtpPRD.CloseConnection FtpRDB.CloseConnection FtpMID.CloseConnection Set FtpHDB = Nothing Set FtpPDB = Nothing Set FtpPRD = Nothing …

Member Avatar for AndreRet
0
164
Member Avatar for Quintero345

I need help with my maze game. I just need to know how to use an array to map out my 500 x 500 form into a 25 x 25 without actually making it 25 x 25 in the properties window.

Member Avatar for AndreRet
0
38
Member Avatar for Xjmaslord4

I want to make a countdown time that will basically let you click one of the buttons and the countdown will start. But I don’t want the countdown to be shown in seconds but rather in Hours/Minutes/Seconds. There will be multiple buttons that will trigger the countdown. The only hiccup …

Member Avatar for AndreRet
0
1K
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Member Avatar for AndreRet
0
306
Member Avatar for jaasaria

hello coder, could anybody can share an idea on making attachment files. on my cms software. i wanted to have an attachment portion. where my doc,jpg,xls files can be attach. im planing to stored it on my app.path by copying the files. but my problem is when opening on the …

Member Avatar for AndreRet
0
369
Member Avatar for wewehalim

Hi, i am developing a software using microsoft visual studio basic 2010. I used a datagridviewcontrol to display a list of data from product table. What I want to do (actually i am not sure how to do it, or is there a way to do it), when i choose …

Member Avatar for wewehalim
0
166
Member Avatar for a1a4a

Hello all I am on a project where users can login /register /change status/ ... just like facebook. The problem is that i can't find a code that allow users to upload pictures as their profile picture. I think i should save the Url of the image in the database …

Member Avatar for kvprajapati
0
115
Member Avatar for fawi

Hi, First I am beginner in C#. 1-But I need to know how to use wor automation and save the new file in other location then print it when need, that was first. 2-I also need to know how to play a specific video from a path using Microsoft.Directx.AudioVideoPlayBack library. …

Member Avatar for fawi
0
306
Member Avatar for davydick

Hi I used VB6 to create an EXE file that uses MSComm1. The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed). It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are …

Member Avatar for G_Waddell
0
229
Member Avatar for emongs
Member Avatar for AndreRet
0
161
Member Avatar for mejie89

Hi! i just want to ask about having two decimal places in a text box using a visual basic 6.0. :[

Member Avatar for AndreRet
0
33
Member Avatar for ashwin149

Hi.I am working on a project(patient management system).I want a code for this. Once I enter the name of the patient whose details want to know, I want the next form to be loaded and those specific details of that particular patient(already stored in a database) to be displayed in …

Member Avatar for AndreRet
0
83
Member Avatar for Duki

I'm not positive this is the right place to post this. We're starting analysis for converting to UTF-8 on our application. During testing, all of our test data is displayed incorrectly in visual studio - our two-bye UTF-8 characters are being displayed as two one-byte ASCII characters. Is there a …

Member Avatar for Ancient Dragon
0
106
Member Avatar for Hakoo

Hello all, After very longtime I am sending thread on this. Before I used to send threads in JSP. But now I am working on J2ME. I have installed " JAVA ME SDK PLATFORM" when I run any MIDlet getting JIT error. This error is related to each PC, I …

Member Avatar for peter_budo
0
54
Member Avatar for ChaseRLewis

Hello, When I was getting the basics of C++ these forums were very helpful so maybe I can find some help on this subject. I want to organize a template project (think there is a better name for this) so when I create a new project in Visual Studio 2010 …

Member Avatar for deanus
0
133
Member Avatar for Dealman

Okay, so I'm working on this Application which will find it's way to the User's AppData folder and find a specific File .prefs File. It should then read that File and find specific Sentences/Names/Whatever pleases you. If it finds a Sentence/Name in that File which matches the one it's supposed …

Member Avatar for AndreRet
0
189
Member Avatar for sruthynairc

I m creating a software in vb (Laboratory management System using ADO as connection) .bt, Nw I m facing a problem..The laboratory's result page should contain a DB Grid control..It has 4 fields namely ITEM CODE,INVESTIGATION,OBSERVED,NORMAL. Here I want to display the values in ITEMCODE,INVESTIGATION and NORMAL automatically in DB …

Member Avatar for AndreRet
0
70
Member Avatar for emongs

can how to rotate a picture in picture box? just a simple code to rotate a picture?

Member Avatar for AndreRet
0
94
Member Avatar for mrectek

Hi, For the purpose of creating a very simple mp3 player i would like to have a listview that allows a user to click on a listed file and play an audio file. I figure that to solve this the program should display the contents of a directory containing the …

Member Avatar for Stefano Mtangoo
0
138
Member Avatar for junjun61991

Private Sub txtsearch_Click() with data3.Recordset a = txtidno.Text .FindFirst "[id]'" & a & "" ' If .NoMatch Then MsgBox "Record Not Found", vbInformation, "Search" Else txtborrowname.Text = .Fields("borrower's name") txtcourse.Text = .Fields("course") txtyear.Text = .Fields("year") End If End With End Sub ("what is the lacking of my code of command …

Member Avatar for AndreRet
-2
898
Member Avatar for bobscrazy

I need to link an access database to my visual vasic express 2008 class i have made (as been set an object orientated project) but am struggling to link the database and get it to show the information from the database through the class to the product form. I'll attach …

Member Avatar for bobscrazy
0
136
Member Avatar for kureiki

I am trying to use my textboxes and checkedlistboxes to insert data to a ms access database that is local just as a preliminary step to get my app running to show what it can do. I have connected to the database through the datasource connection in Visual studio 2008 …

Member Avatar for jugosoft
0
807
Member Avatar for abelingaw

Im getting this error: [ICODE] Arguments are of the wrong type, out of range or are in conflict with another [/ICODE] Here's my code: [CODE] rivate Sub cmdPrintSel_Click() Call Con("Database.mdb") RecSet.Open "Select Payroll.EM_ID, Payroll.EM_Name, Payroll.EM_Dep, Payroll.Monthly_Rate, Payroll.dDate, Payroll.xBonus, Payroll.xOT, Payroll.GSIS, Payroll.PH, Payroll.InTax, Payroll.Others, Payroll.absences, Payroll.Advances, Payroll.NetPay " & _ "From …

Member Avatar for jhai_salvador
0
109
Member Avatar for EddyLLC

Hello all, working in VB6 I want to pull all records from Access table named Answers that in a field named Color have "White". Within that record there are 10 fields of various numbers that I want to sum and average. In short I want to pull all records with …

Member Avatar for EddyLLC
0
117
Member Avatar for savitasagar

please give me link for free download visual source safe for Microsof tvisual Studio 2008

Member Avatar for kvprajapati
0
44
Member Avatar for johans22

I use visual studio tool. This compiles but no real output. [CODE]#include <iostream> #include <windows.h> #include <cstdlib> struct somestruct { char *name; int number; }; void mythread(void *lpParam) { somestruct* p = static_cast<somestruct*>(lpParam); printf("%d\n",p->number); ExitThread(0); } int main() { DWORD thread; struct somestruct *p; p = (somestruct*)malloc(sizeof(struct somestruct)); p->name=(char*)malloc(strlen("First Last")+1); …

Member Avatar for daviddoria
0
85
Member Avatar for tarwara

I have used mailing in asp on local host which worked fine but The prob has occurred when i hosted the pages the error message is: Failure sending mail. and the code i am using: [code] Dim message As New MailMessage message.From = New MailAddress("xxx@gmail.com") message.To.Add(New MailAddress("xxx@yahoo.com")) message.Subject = test …

Member Avatar for jugosoft
0
978
Member Avatar for jlivvers

Hi, in my windows form application Im using a microsoft report to generate receipts that show amounts, dates and userId's for those that have taken the payments. What I need to do firstly is where the userId's are displayed currently (as a foreign key) i'd like to show instead the …

Member Avatar for kvprajapati
0
164
Member Avatar for exception

i already figured out how to send an email using VB, using GOOGLE SMTP. but i wanna find out how to send a text message using vb.

Member Avatar for debasisdas
0
46
Member Avatar for drogers76

I am using streamreader to read and streamwriter to write, i have put the lines into an array [text file contents] ********** Remove [ ] ***************** blah blah blah ;this is blah blah blah ;this is another blah [end of example file] i want to remove the lines that start …

Member Avatar for codeorder
0
324
Member Avatar for Pemike2

I am a young computer programmer. I do my development in visual basic. I currently have a project to develop a software that is internet based. What i want to know is; 1. It is possible to achieve this through vb? 2. What do i have to do to get …

Member Avatar for jesusjacques89
0
52
Member Avatar for nickoooname

Hi Guys, Im currently working on a school project but im stuck, if worked on this problem for over 4 days now and i cant fix it. Using Direct3D 9, Visual studio 2010, im trying to make create a heightmap. Im using a bmp file. Problem: the heightmap doesn't show …

0
132
Member Avatar for alex-VX

when i try to compile stuff i get this [code=c++]c:\program\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(53): error C2143: syntax error : missing ';' before '{' c:\program\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(53): error C2871: 'vc_attributes' : a namespace with this name does not exist c:\program\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(53): error C2447: '{' : missing function header (old-style …

Member Avatar for jonsca
0
479
Member Avatar for dejanc

Hi, I have a form with gridview data with database data. With query I run INSERT INTO from one table into another, with button. I would like when I run procedure, also reset/update/refresh gridview with new import data??!! For info, I have try with some methods, such as me. gridview.refresh() …

Member Avatar for dejanc
0
417
Member Avatar for MaddTechwf

I'm trying to write a small app and I want it to show the OS Install key. How can I pull this? I'm using Visual Basic 2008.

Member Avatar for MaddTechwf
0
217

The End.