16,916 Topics
![]() | |
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. … | |
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 … | |
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 : … | |
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 … | |
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 … | |
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 … | |
is it possible to import java and c++'s compiler to VB? | |
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 … | |
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 … | |
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 … | |
[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 ); … | |
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.. | |
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? | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 & … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 | |
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 | |
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. … | |
i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:) | |
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 … | |
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 :) | |
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 … | |
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 … | |
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 … | |
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...... | |
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. … | |
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 … | |
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 … | |
Hi, I am looking for a way to word wrap TreeView text, if this is even possible. | |
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 … | |
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? | |
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 … | |
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 - … | |
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 … | |
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.. | |
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? | |
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 … |
The End.