16,916 Topics

Member Avatar for
Member Avatar for Asad__

hi, am brand new to VB. i have the same problem. i want to open a folder, say; C:\apache on clicking a command button on VB GUI. i have something like this: Private Sub Command1_Click() ShellExecute hWnd, "open", "C:\apache", _ vbNullString, vbNullString, SW_SHOWNORMAL End Sub but it gives compilation error. …

Member Avatar for Jx_Man
0
172
Member Avatar for serkan sendur

For small applications it is proper to use AccessDataSource object in order to access the database directly from asp.net page. When i first used it for inserting data with formview, it generated the following error : "You tried to assign the Null value to a variable that is not a …

0
94
Member Avatar for serkan sendur

sql cache dependency allows for cached data to be evicted and refreshed when it becomes stale. Basically ASP.NET checks for the changes in the datatable in sql server, if it finds one, it refreshes the cached data. Polling based sql cache dependency is very easy to configure as follows : …

0
75
Member Avatar for Exenteth

Hello, I've been trying to develop a simple client/server application that uses the bluetooth USB dongles of 2 PCs using windows sockets and the bluetooth support provided in the windows platform SDK I can create the sockets fine, but when I go to invoke "bind" or "connect", the program spits …

Member Avatar for himanshu anand
0
296
Member Avatar for VIeditorlover

I have an vb6 app. Help works well under any version of 32b version THE SYSTEM(tm) except VISTA(R) 64b. I simply press F1 as usually and nothing happen. Run it as an admin, click tons of confirmation dialogs, press F1 and nothing happen again. Setup add always hh.exe into app's …

0
63
Member Avatar for SPereira

Hi There, I need some help in VB 6. I have a textbox wherein I need to validate the data entered after the TAB key is pressed. Using KeyDown, KeyUp and KeyPress does not get me the KeyAscii of the Tab Key. It works fine with the Enter Key but …

Member Avatar for choudhuryshouvi
0
552
Member Avatar for shinoske
Member Avatar for prachi malpure

hello, v are the students of engineering and developing a project on speech recognition system. our system is just opening the applications.can anyone just help us so that v can create a agent that will train the system with different voices.if anyone can give us the code it will be …

Member Avatar for Jx_Man
0
228
Member Avatar for evios

i'd created a game, now thinking of adding background music to it, however i'd tried the codes below..n unsuccessful, anione know what is the mistakes? Thanks a million. [code]Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long ' ' sndPlaySound constants …

Member Avatar for Jx_Man
0
109
Member Avatar for Agita

Hello, I know basically nothing about programming but none the less I have chose to play with VB2008 just the same. I read learn Visual basic in 24 hours, didn't do me any good..(other than learning random info) All I want to do is make a application that links to …

Member Avatar for Agita
0
137
Member Avatar for maggz

[code] #pragma once #include <iostream> /* * Author: Makhdoom Shah 4872 * Date of creation:22/2-2008 * Date of revision: * Revesion #: 1 */ using namespace std; //typedef double itemType; // need for another type, change it here template<class T> class dynarray { public: dynarray( int s = 0 ); …

Member Avatar for Narue
0
290
Member Avatar for t_yalthis

hi everybody, I need arrays which has boolean type of data in them.. is it possible to do it in vb6? I searched the web but couldn't find any related information.. thanx..

Member Avatar for Mbt925
0
122
Member Avatar for dinilkarun

I am new to VB.Is there anything similar to checkedstbox(VB.net) in VB 6.0?. If not, can i make one using listbox,checkboxes and scroll bars?

Member Avatar for Mbt925
0
77
Member Avatar for SubProf

Hello, I have a combobox on my form that I need to be populated with data from a table in MS Access. I am new to coding in Visual c# and would appreciate any help I can get with this. Thanks in advance, SubProf

Member Avatar for SubProf
0
89
Member Avatar for cseale03

Hey everyone! I have been working on this project for about a week now. It reads in a text file and outputs how many times the top five characters are used, what the percentages are for the top five compared to the rest of the ASCII characters, and shows the …

Member Avatar for cseale03
0
107
Member Avatar for hawada99

Good Morning to all of you. I just joined today. I am a freasher in programming, live in India. I made a project and want to create a setup of project. Can anyone tell me the solution. Thanks in advance. Raj

Member Avatar for Jx_Man
0
80
Member Avatar for sk8ndestroy14

Okay, so here's the challenge. I want a continously running program that will automatically close all running programs, log off the user account and shut down the computer when the batterly life of my laptop reaches a certain amount. First of all, can that be done with visual basic and …

Member Avatar for Jx_Man
0
168
Member Avatar for Jennifer84

I am trying to open a file with this code but wonder what extension this file has. My project is under this path: c:\\Documents and Stteings\\Jennifer\\My Documents\\Visual Studio 2008\\Projects\\Form1 Under this path I have a File that is named "Form1". If I doubleclick this file VC++ opens. The problem though …

Member Avatar for WolfPack
0
86
Member Avatar for Hellfireballz

Ok I have a project I am working on and I need some help getting started .... I want to display info from an excel sheet I have ... Example: A1 = Movie Title B1 = Movie Genre ok in label1 I want the movie title and in label2 I …

0
60
Member Avatar for bashir matovu

invalid sql statement,expected "delete","insert","procedure","select" or "update" it a run time error which i recieve when an saving a record to the database. and this is the code. [B]rsord.Open "order", cnnord, adOpenKeyset, adLockPessimistic[/B] cnnord.Execute "INSERT INTO order(OrderId,DateOrdered,CustomerId,QuatityOrdered,ProductTitle,PurchasedUnitPrice);" _ & "VALUES('" & txtoid.Text & "','" & txtod.Text & "','" & txtcid.Text & …

Member Avatar for cometburn
0
89
Member Avatar for hawisme000

im making an installation form in VB -i already made the installer/setup for my project using another installer maker im having a prob on the syntax, i just googled this and try it but have a error Dim TaskID As Long TaskID = Shell(App.Path \ CAIsetup.exe, vbNormalFocus) my only guess …

Member Avatar for cometburn
0
148
Member Avatar for Pilate

Hello python world, this is my first post I type print "hello world" into IDLE, hit return but it returns nothing also the pull down menus were HUGE. After reading and attempting to fix them they are nothing but --- now. actually not even as clear as --- 1 more …

Member Avatar for sneekula
0
188
Member Avatar for hawisme000

hi every1, another prob cnt solve even after googling how can i load a notepad file or txt file on VB, what i mean is loading the notepad.exe with the file inside example i click the cmdLoad then it will open the file (on notepad) the file i want to …

Member Avatar for hawisme000
0
244
Member Avatar for crazymanzach

Hi, Can someone please help me? I have a filelistbox that can view and execute files in a specified folder. Is there a way to get a filelistbox to view folders and subfolders in a tree and then execute the files within? thanks

Member Avatar for choudhuryshouvi
0
72
Member Avatar for regalla

i have two forms and on each form one text box having access database behind and is connected to forms by using data bound controls. My problm is that what ever value i enter form1.text1 , it should come in form2.text1. iam using code like this in form1 lost focus …

Member Avatar for choudhuryshouvi
0
93
Member Avatar for bashir matovu

hi brother i have a code which saves arecord but it gives an error syntax in insert in to statement. this is ma code. arequest for a collection or an alternative code. Private Sub cmdsave_Click() Dim findpas As String Dim cnnadd As ADODB.Connection Dim rsadd As ADODB.Recordset Set cnnadd = …

Member Avatar for choudhuryshouvi
0
78
Member Avatar for Gaurav arora

hi all! Till now i have made simple applications in C# that dont make use of Database. But now i wanna make a simple projects that keep records of employee i.e. their name,ids,emails,addresses etc. For that purpose i need database connectivy code in C#. Another problem is this that i …

Member Avatar for JerryShaw
0
211
Member Avatar for Franco22

Hi fellow geeks, I'm trying to come to grips with all aspects of using Microsoft's .NET framework. I've had some experience using Visual Basic 6 as well as writing macros for Excel. I'm currently trying to learn C# and ASP.NET with a view to getting some sort of certification. I'm …

Member Avatar for Serunson
0
39
Member Avatar for pascalmercer

Hello, when attempting to open an explorer i get the following message: "an unhelded win32 exception occured in explorer.exe[1704]" and I'm asked to debug using visual studio. How can I fix this? Thanks. Pascal

Member Avatar for humbll
0
35
Member Avatar for pascalmercer

Hello, when attempting to open an explorer i get the following message: "an unhelded win32 exception occured in explorer.exe[1704]" and I'm asked to debug using visual studio. How can I fix this? Thanks. Pascal

0
16
Member Avatar for rajeshkhanna_in

HI all, I have been using a software written in vb6.0 for 2 years. Now all of a sudden the software gives me this error "PCGW32.dll file is missing!". I don't know how to handle it. Even the person from whom I bought the software is nowhere to be found. …

0
78
Member Avatar for Sawamura

i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:)

Member Avatar for Jx_Man
2
153
Member Avatar for Gadrel

What ho Boys and Girls, I'm attempting to make a login page in a windows application in this loverly C# visual studio express 2008 and the problem is I'm a right dimbo,lol. Thus far I have created a SQL Database of 3 columns and a pretty form with username and …

Member Avatar for Gadrel
0
105
Member Avatar for Estella

I want to change font of all controls in a form. how i can do this?? i can change font but just for each control not all control in a same time... please help :)

Member Avatar for Jx_Man
1
173
Member Avatar for nirvana999

how can i Enable the F2 or f3 in my keyboard when i press the F1 in my keyboard?? btw this is my code i want to enable the F2 when i press F1......I've got an error when i press the F2 first before the F1....sorry for my stupidity it …

Member Avatar for debasisdas
0
73
Member Avatar for kshrini

Hi All, I'm using MSFlexgrid in my program. I'm using Click event of it. But when I click on blank area after last row it still fires click event and focuses on a column. Is it possible to block the Click event when I click in blank space or block …

Member Avatar for SPereira
0
218
Member Avatar for kemarS

Hi, Can anyone explain to me be basic functionality of a filter in MS Visual C++ ? I need to use one to check the database for a file name; if the file name exists in the database, alert the program user that the file has already been uploaded to …

Member Avatar for Duoas
0
88
Member Avatar for shahriar2403

I am really having a tough time to update my report contents. Please help me with a project attaching with your solution. please help me quick......

Member Avatar for cometburn
0
480
Member Avatar for kartik07

Hi,I am new to VB6 and I have displayed records in a DBGrid from access using Data ctrl. I have displayed name and mailid in the grid Now,wen I click on any one record,the particular record shoul get selected and corresponding mailid and name should be displayed in another form. …

Member Avatar for rucci
0
136
Member Avatar for shadowsong23

Hi my name is Cristina I'm a Visual Basic newbie and my non-teaching professor at school virtually just dumped out projects for us to do without teaching anything and just giving out hand-outs.My problem is im having a hard time putting source codes in because its like hard for me …

Member Avatar for bwkeller
0
122
Member Avatar for daviddoria

I am trying to use OPT++ for multidimensional optimization with Visual Studio 2005. I added the include directory to my project. I added the lib directory to my project. When I try to compile the example that ships with the package, i get 102 of the same error: NEWMAT is …

Member Avatar for zhelih
0
170
Member Avatar for jm50328

Hi, I am looking for a way to word wrap TreeView text, if this is even possible.

Member Avatar for jm50328
0
72
Member Avatar for sofian786

heres what i wnated too do Write a program to calculate the average monthly sales figure for a single salesperson in one calendar year. the user will be asked to enter 12 sales figures (pounds & pence), one for each month of the year, and then the average monthly figure …

Member Avatar for choudhuryshouvi
0
120
Member Avatar for kinyuadave

I have this project that am workng on that requres the user to write a name in a textbox and images are displayed on the picture box. So the question is how do i do this?

Member Avatar for Jx_Man
0
110
Member Avatar for eparse

Any codes for mouse manipulation? I'd created a game using form, works fine. Now i am trying to control the game using only keyboard instead of mouse. I'd try class module for it and the result is unsatisfactory. The application is easy, just use up, down, left and right key …

Member Avatar for debasisdas
0
51
Member Avatar for PC_Nerd

Hi, Im relatively experienced with the Python language, but i have a smaller knowledge of its modules etc. Im familiar with Tkinter, basic sockets, basic threading, math ( i know the most about). Im looking for a way to print to a printer. I can read from files easily - …

Member Avatar for PC_Nerd
0
6K
Member Avatar for jsetter

Hi guys, I have a problem with the conversion of an excel spreadsheet to html. I have converted the file to html using a microsoft internet wizard and the spreadsheet comes up yet the cells that need user input - you can't enter values. I am a newbie and have …

0
43
Member Avatar for Neji

there are anyone know how to get all user in computer?? please help me.. i dont have idea for this.. best regards.. any help will be appreciated..

Member Avatar for Jx_Man
0
185
Member Avatar for masakii

hi im a student doing a project related to video streaming application and i have no idea on how to start. im trying to do the coding using visual basic, anyone have any working examples that i might refer to?

Member Avatar for tcom4
0
71
Member Avatar for Jennifer84

I have Added a new item to a FormProject in VC++ .NET. This is an includerFile (OneFile.h) On Form3 I have #include "OneFile.h" and in OneFile.h I have only written this: [I](Nothing else is written in OneFile.h)[/I] [code] #define Macro1 Time == Value [/code] This macro works fine using it …

Member Avatar for Jennifer84
0
148

The End.