132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for exzibit23

how can i connect SQL(local server) to VB6?? Please give me the STEP BY STEP PROCEDURE.. i dont really have idea on how to connect SQl to Vb6

Software Development sql visual-basic
Member Avatar for vb5prgrmr
0
74
Member Avatar for avisek_cts

Private Sub Command1_Click() Dim PDDoc As Object Dim AVDoc As Object Dim AcroExchApp As Object Dim PDSaveFull As Object AcroExchApp.GetActiveDoc Set AcroExchApp = CreateObject("AcroExch.App") AcroExchApp.GetActiveDoc AVDoc.GetPDDoc PDDoc.Save Set PDDoc = AVDoc.GetPDDoc If PDDoc.Save(PDSaveFull, "c:\test.pdf") = False Then MsgBox "Unable to save image" Else: MsgBox "The file is saved" End If …

Software Development pdf visual-basic
Member Avatar for vb5prgrmr
0
146
Member Avatar for tdeck

I'm probably going about this in the wrong way, but I have a stack of Objects, and some of these can be ArrayLists. I want to be able to pop an object that is actually an ArrayList off the stack, unbox it, add something, and then pop it back on. …

Software Development
Member Avatar for tdeck
0
151
Member Avatar for oscarresonable

Hi guyZz... I'm a beginner in programming world..,! Can you help me guyZz of restoring data of mysql using vb6 codes..... Any reply and some source is really appreciated.... Thanks in advance..... Oscar Resonable

Software Development mysql visual-basic
Member Avatar for vb5prgrmr
0
121
Member Avatar for shehryar

I am developing my final year rail reservation project.. I am having a little problem with the seat selection.. I can either get all the seats that are available or that are not available.. so what i want to do is if there is a seat in another table then …

Software Development dataset
Member Avatar for shehryar
0
684
Member Avatar for arinlares

So, I've started writing a text adventure in Python, and already have the first map idea figured out, but I don't know where to start with defining a variable for each room. I know about the simple stuff, such as (represented as it would be in IDLE) [code=python]>>x = 4 …

Software Development python
Member Avatar for bumsfeld
0
103
Member Avatar for headedtomexico

Man, I hate having to get you guys to hold my hand through all this, but I've run into another problem. I have my ODBC connecting to a MS access database. This is all coded into a library that gets injected into a video game, and then macro commands call …

Software Development c++ microsoft-access
Member Avatar for Ancient Dragon
0
106
Member Avatar for goody11

I can't figure out how to make my save function append to the txt file it always overwrites. Also, I'm trying to figure out how to make each set of words on a newline in the text file. Here is the function: [code] BOOL SaveTextFileFromEdit(HWND hEdit, HWND hEdit2, HWND hEdit3, …

Software Development api c++ windows-api
Member Avatar for bdusablon
0
128
Member Avatar for arunaalapati

hi.... did anyone know how to run vbscripts in C#?if yes.........please do reply me.... thankyou regards Aruna

Software Development c#
Member Avatar for arunaalapati
0
1K
Member Avatar for smithsf22

Hello, I am having a problem adding a node properly. It does add but it duplicates the Test node I know why it is doing it (I create the Test node in the root as well as in the dataset) but I don’t know how to prevent it. Any suggestions …

Software Development dataset xml
Member Avatar for bcasp
0
152
Member Avatar for urbancalli

[code] BOOL SaveTextFileFromEdit(HWND hEdit, LPCTSTR pszFileName) { HANDLE hFile; BOOL bSuccess = FALSE; hFile = CreateFile(pszFileName, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if(hFile != INVALID_HANDLE_VALUE) { DWORD dwTextLength; dwTextLength = GetWindowTextLength(hEdit); // No need to bother if there's no text. if(dwTextLength > 0) { LPSTR pszText; DWORD dwBufferSize = dwTextLength …

Software Development api c
Member Avatar for Tom Gunn
0
221
Member Avatar for TheFoeHammer

I need to delete a shortcut but the code I wrote will not work. [code=C#]System.IO.File.Delete("C:/WINDOWS/Example.Ink"); // This returns no errors at all, just nothing happens.[/code] Does anyone have an idea on an alternate way to delete a shortcut? Any help is appreciated =D

Software Development c c# c++
Member Avatar for Nick Evan
0
460
Member Avatar for Yaserk88

Hello! I am trying to open this CSV file separated by semicolons. I know how to open a text file and I tried searching the way to open a CSV, but most methods seemed extremly complicated. Does any one have a simple suggestion that would work with what I already …

Software Development c++
Member Avatar for Ancient Dragon
0
4K
Member Avatar for cool_yu2k

Hello! I have another problem in my binary tree. The countLeaves method does not output the correct answer. Instead of outputting 3, it output 1. I don't know what's the problem on the algorithm of my countLeaves method but I guess it is correct. Can anybody help me solve this …

Software Development algorithm java
Member Avatar for harsh2327
0
116
Member Avatar for Alphard

Hi guys, Im currently having difficulties connecting 2 comboboxes together. 2 of my combobox are the following, 1 combobox for the country and the other one for the city. So here's the thing, if I'll choose any country from the combobox-country then all of its cities would appear. I am …

Software Development vb.net
Member Avatar for g@sha
0
110
Member Avatar for auhuman

Hi, i searched a lot in JAVA documentation, but couldn't find a buffer API 1) can grow dynamically. 2) the existing content must shift right if i insert a new element in the existing content index

Software Development api java
Member Avatar for auhuman
0
86
Member Avatar for daviddoria

I have a class called Scanner which casts rays into a 3d scene and records the resulting intersections. It has the following type of properties: Location (a 3d point) Forward (a 3d vector) Up (a 3d vector) min/max angle (the bounds of where to cast rays) theta/phi step (the directions …

Software Development c++ oop
Member Avatar for Tom Gunn
0
121
Member Avatar for Stals

Im using [code]For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.SpecialDirectories.MyDocuments, _ FileIO.SearchOption.SearchAllSubDirectories, "*element.txt") ListBox1.Items.Add(foundFile) [/code] to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c) And show in labels [code] Label1.text= a Label2.Text =b Label3.Text =c [/code] Label1 will show the …

Software Development vb.net
Member Avatar for steve11
0
108
Member Avatar for babbu

i have a datagrid view. i am using data table to display data [code] oledbcon.Open() m_daDataAdapter = New OleDb.OleDbDataAdapter("Select * from Customer", oledbcon) m_daDataAdapter.Fill(m_dtCustomer) m_cbCommandBuilder = New OleDb.OleDbCommandBuilder(m_daDataAdapter) m_rowPosition = m_dtCustomer.Rows.Count dataGridView1.DataSource = m_dtCustomer oledbcon.Close() [/code] this works great. later i want to display only those records tht the user …

Software Development vb.net
Member Avatar for g@sha
0
2K
Member Avatar for mugdha_2005

hello .. can u suggest sm gud topic for the project in c# with asp.net?? most probably ne web application ??

Software Development asp.net
Member Avatar for kiamzattu
0
167
Member Avatar for risa

I have Tabctrl in a dialog.I want to set its background colour for each tab .I tried ON_WM_DRAWITEM but the control never comes in OnDrawItem().Can you help? #define RED RGB(255,0,0) #define YELLOW RGB(255,255,0) #define MAGENTA RGB(255,0,255) #define WHITE RGB(255,255,255) #define BLUE RGB(0,0,255) void CVMListDialog::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpdis) { CDialog::OnDrawItem(nIDCtl, lpdis); …

Software Development c++
Member Avatar for Laiq Ahmed
0
2K
Member Avatar for knowledgelover

hi there, I am trying to learn how to generate xml document having the XSD file that describes the schema of the xml, and need to insert specific values for some of the elements, too. then I need to parse other xml files, I have googled about it, and many …

Software Development api java xml
Member Avatar for varunnanda
0
136
Member Avatar for spalax

Hi everyone, i'm a beginner in java. i would like to know if somebody couls explain me about the pricing. i don't have more details, it is used for airplane ticket reservation. Or any java project, i would like to test my capacity before searching for job. Thank you very …

Software Development java
Member Avatar for peter_budo
0
86
Member Avatar for Piya27

Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.

Software Development vb.net visual-studio
Member Avatar for Piya27
0
51
Member Avatar for alski

Hi people. I have a time and attendance module in VB6 which saves transactions (ADO) in MS-SQL if there is a LAN connection, and save it locally (MS Access) when offline. The trigger is when someone logged in. This is what I did: [Code] Set cn = New ADODB.Connection cn.Open …

Software Development sql visual-basic
Member Avatar for alski
0
104
Member Avatar for firoz.raj

simple want when user click on close form button.all the form should close except Mdi form.but MDI Form also get close.Kindly let me know. any help would be Highly appreciated.here is the code what i have written. [code=vb] Private Sub FrmClose_Click() Dim frm As Form For Each frm In Forms …

Software Development visual-basic
Member Avatar for firoz.raj
0
86
Member Avatar for StuartMillner

I am writing a program that reads paragraphs from a word document and puts them between XML tags. I have a class which handles the loading and reading of the word document. The document loads fine, and the program can read all the words into the program, but not on …

Software Development microsoft-office vb.net xml
Member Avatar for StuartMillner
0
972
Member Avatar for Whilliam

Hello. Im new to Java. I don't know much about Java's codes but I have a good background in C. Im using NetBeans 6.7. I have this code: [code=java] package javaapplication1; public class Main { public int x = 3; public int test(){ x += 4; return x; } public …

Software Development java java-netbeans
Member Avatar for kvprajapati
0
130
Member Avatar for laghaterohan

hello , here is my code below to unzip a file and list only the file names contend in that folder in the listbox below , the code is working properly however am unable to get only the file name in the list box. In the listbox i get entire …

Software Development
Member Avatar for laghaterohan
0
116
Member Avatar for nivielan

whats wrong in my code ? is i have missed any thing ?? send the replie as soon as possible. am not getting an output.. [code=c#] private void Form1_Load(object sender, EventArgs e) { Graphics Grf; Grf = this.CreateGraphics(); ShowKnownColors(Grf); } private void ShowKnownColors(Graphics Grf) { this.Size = new Size(1150, 680);//make …

Software Development
Member Avatar for ddanbe
0
102
Member Avatar for sana.khatib20

hi thnx all for the help last time. nw i hav another prob. i am developing an application for the doctors n wanna store all the patients records.i am using an access database.nw my problem is tat the register no. tat is the identity of the patient has to be …

Software Development vb.net
Member Avatar for iCreator
0
287
Member Avatar for abu taher

at 1st: class name entry in a text box (by add new button). access file is store it. then in a another form (when a student admitt) enter all data of this student (in few text box) without class name. when I want to entry the class name then I …

Software Development visual-basic
Member Avatar for abu taher
0
154
Member Avatar for keziaebitner

i need a code for this java program...urgent please... using dialog boxes : input month in "99" form date in "99" form year = 2009 then display the date in 'MMM 99, 2009' form otherwise, display 'invalid date' Valid date 01-12 = Values for month 01-28 = for month - …

Software Development java
Member Avatar for masijade
0
82
Member Avatar for Adrian_0211

im working on my thesis right now... i need to create a map locator.. just like this one [url]http://www.map.wisc.edu/[/url] any idea how to do this? thanks for the help..

Software Development java
Member Avatar for narkarvinayak
0
92
Member Avatar for rockbluster

Form wouldn't submit and keep popping out. "Not all fields are valid". [CODE]<script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.ValidationTextBox"); dojo.require ("dijit.form.Form"); dojo.require("dijit.form.CheckBox"); dojo.require ("dijit.form.FilteringSelect"); dojo.require ("dijit.form.TextBox"); var valid = true; function checkPw(formFields) { //alert (formFields.uPass); //alert (formFields.uPass2); if (formFields.uPass !== formFields.uPass2) { alert("Confirmation password is different."); valid = false; } return valid; } …

Software Development java
Member Avatar for rockbluster
0
77
Member Avatar for laghaterohan

hello, Below is the C# code. When i run it i get an error saying cannot convert char to string in the foreach statement. Please help me out...am unable to figure out whts the problem! awating replies..... [CODE] private void DisplayFiles(string DirPath) { string Root = null; Root = txtdestination.Text; …

Software Development
Member Avatar for laghaterohan
0
147
Member Avatar for cool_yu2k

Hello! We have an assignment regarding binary tree and I am having a hard time debugging it. The countNode and countLeaves method do not work. It does not display output and instead remain blank. Please help me and check if what is really wrong. Thanks in advance. It will be …

Software Development java
Member Avatar for kvprajapati
0
313
Member Avatar for Lensva

its supposed to zip folder content recursively, which it does until it encounters a folder with both an empty folder and a non-empty. or so i think. i used the following structure to zip: [URL="http://img291.imageshack.us/img291/6120/84976017.jpg"]http://img291.imageshack.us/img291/6120/84976017.jpg[/URL] if untitled folder is removed it works. any tips would be much appreciated. [code=java] import …

Software Development java
Member Avatar for kvprajapati
0
110
Member Avatar for omaragainonthet

Can anyone please send me the code for my following application: I am using a data grid view with a check box column and a delete button on my Windows Form. Now I want the user to check the check boxes and when he clicks the DELETE button then not …

Software Development
Member Avatar for localp
0
140
Member Avatar for ShawnH

I'm currently using the old SetWindowRgn method to create a form with rounded corners but the edges of the corners produced are horribly pixelated. Is there any way to have a form with rounded corners that are smooth?

Software Development pascal
Member Avatar for ShawnH
0
265
Member Avatar for misslb02

What does a progam on how to make change for 25 cents look like?

Software Development c++
Member Avatar for wildgoose
0
98
Member Avatar for AssaultM16

I was wondering. Is there any function like strtok to split into tokens a string, which is c++ standard? Also is there a way to store those tokens into separate char arrays? Thank You

Software Development c++
Member Avatar for AssaultM16
0
157
Member Avatar for squanch

I'm trying to allow a user to find a specific string within a DataGridView column and replace it with another string.....not necessarily requiring them to replace the whole string but to change a word within the string. for example: Find What: GLAND it searchs the column and finds GLAND STEAM …

Software Development vb.net
Member Avatar for kvprajapati
0
166
Member Avatar for iamnoangel26

I am planning on making a biometrics attendance system. I have the hardware and planning on creating a software. My question is Whis VB to use. VB.Net or VB 6.0? Or other language to suggest? I am a Intermediate user when it comes to VB 6.0 and C++. Thanks in …

Software Development vb.net
Member Avatar for iamnoangel26
0
215
Member Avatar for sal9000

Hello, and thanks in advance :) I'm currently working on solving an ODE, which I already know what it the solution supposed to "look like" . I wanted to try with GSL ODE solvers, but I'm having some trouble, because I'm getting something completely wrong! I just wanted to see …

Software Development c
Member Avatar for sal9000
0
196
Member Avatar for Morika

Hi, I'm a newbie to python and I need to extract numbers from a path name. A path name such as: /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17[/B]del_0c12d And I'm trying to get it to take out the 17. I thought I could just do: [ICODE]det file = /grups.google.com/grup/cmp.lng.pythn/browse_thread/thread/8_ee63e_[B]17del[/B]_0c12d index = det_file.find('del') dent = det_file[index[-2]][/ICODE] This …

Software Development python
Member Avatar for Morika
0
143
Member Avatar for mzprog

Hi all, I has to develop a utility GUI using java, as it is very tedious doing programmitically. Anyone knows of a good free tool or plug-in for eclips for building java-based GUI, which can be editable programmatically. i know of Netbeans Desktop application but it generates horrible code. plz …

Software Development gui java java-netbeans
Member Avatar for StuartMillner
0
187
Member Avatar for Uttumi

Hi, This is a very simple question, but I just couldn't figure out any set of keywords that would point to an obvious answer. So here we go. Code example: int array [size] ; Size is, for example, given as an argument. Is this array initialization static or dynamic? It …

Software Development c++
Member Avatar for John A
0
253
Member Avatar for Bertie

Is it correct to say that you can create a DLL which contains an abstract class that each programmer must declare instances of to keep segragated code working independently of eachothers progress??? I understand that most forums don't allow their users to delete their threads, so dont mind the Judge …

Software Development c++
Member Avatar for Bertie
0
81
Member Avatar for sneekula

Does anyone know a good internet site where I can 'park' my Python code? Easy download, upload, and search.

Software Development python
Member Avatar for zachabesh
0
203

The End.