16,916 Topics

Member Avatar for
Member Avatar for totalwar235

i am just trying basic C++ GUI and i ran this code from a tutorial site. [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow) { MessageBox(NULL, "Hello World", "Testing", 0); return 0; } [/CODE] when i run it, it executes and makes a animation of …

Member Avatar for totalwar235
0
116
Member Avatar for Victoryy

HI, I have to calculate values and display it on the crystal report, i have entered all the values int the dataset. Now i have to design the crystal report using that dataset. Is it possible in the visual studio.... If yes, then how can i do that..\ Thanks & …

Member Avatar for virusisfound
0
114
Member Avatar for jhai_salvador

Okay, this is just a simple trick to determine whether CAPS is pressed because some people here use API to determine whether the CAPS Lock is pressed. [QUOTE] KeyDown and KeyUp don't detect exactly the same information as KeyPress. KeyPress detects a character in its KeyAscii parameter, but KeyDown and …

Member Avatar for jhai_salvador
0
879
Member Avatar for solfinker

I need to add to my project several two columns tables of data (from MS-Excel) I have saved in txt form, and I suppose I want to manage them in the form of lists or arrays. Which is the easiest way to incorporate those files into the project?

Member Avatar for kvprajapati
0
99
Member Avatar for shredder2794

Hello All, I was wondering how to click a button on the internet or another program via a program in visual basic 2010. An example would be: Have a program being able to click the "Search" button in google or the "I'm feeling lucky" button??? Does anyone know how to …

Member Avatar for Unhnd_Exception
0
2K
Member Avatar for mrteey2k
Member Avatar for Mareachi

Hi .... I need to have an idea about the project..... kindly give me idea about projects that are some robotics or involving intelligence .... or any software development type .... plzz Regards...

Member Avatar for JSPMA1988
0
89
Member Avatar for tom_289

hi i am currenlty studying C sharp Visual studio, trying to convert a case study of polymorphism in payroll (which is avaiable in different books as console application) into windows application.. everything is going well, except here where i got switch statement and giving error in case 2- case 4 …

Member Avatar for tom_289
0
161
Member Avatar for sakhi kul

hi all, I am creating my own project template, now I want user should face my own wizard to choose filename etc. I want to ask user about database that he want to connect in project so i want to put my own wizard. is it possible..? plz help me?

Member Avatar for kvprajapati
0
85
Member Avatar for dilip_singh3
Member Avatar for urataru17

Hi there! Just want to ask for help with my Visual Basic 2008 because when I tried to reinstall my vb application and open my designer I got this error "Make sure the application for the file type (.vb) is installed." and I cannot edit my design anymore. Also the …

Member Avatar for GeekByChoiCe
-1
201
Member Avatar for solfinker

I'm trying to calculate the standard deviation from data in a grid, but sth goes wrong. I have tried with variable declarations inside and outside the function and the result stays the same. It seems to me that the loop doesn't work properly. Can you take a look at the …

Member Avatar for solfinker
0
173
Member Avatar for Naveed_786

Dear all, Please help me i want to check record already exists in database please modify this code please help [CODE]Private Sub txtempno_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then btncalculate.SetFocus rs2.MoveFirst While rs2.EOF = False If Val(txtempno.Text) = rs2.Fields!EmpNo Then txtsub.Text = rs2.Fields!subjects txtempname.Text = …

Member Avatar for AndreRet
0
205
Member Avatar for Kanoisa

Hi guys, I have been away from programming for a while and i started back today now that i have some time again. However i have run into a bit of a brick wall. im trying to impliment a queue with a simplified interface for holding messages. What I have …

Member Avatar for Kanoisa
0
167
Member Avatar for Datsun90

Hi all, I have designed an application in MS Access 2007 that will be used in some schools (over 60 schools). Each time I start the application, it shows an alert in the message bar that the VBA macros are disabled, and gives me the option to enable it for …

Member Avatar for boblarson
0
162
Member Avatar for emongs

can some one help me w/ codes in making picture editor. that allows the user to use the following: Picture ToolBar Color Picture Color BackGround Effects Insert Text Alignment of Picture Resize thanks for the help

Member Avatar for AndreRet
0
142
Member Avatar for soneal777

I am using Visual Studio 2010 and C#. I am having problems making my three dice generate different random numbers. All of the dice roll at the same time. I have pictures of dice that I want to pull up for each of 3 dice according to what random number …

Member Avatar for soneal777
0
430
Member Avatar for Manchala

Hi everyone i am new in visual basic. net programming. i am facing problem that when i made a file in vb.net and run it on same computer than it runs fine, but when i copy it to another computer where vb.net or .net framework is not installed then it …

Member Avatar for jlego
0
1K
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Member Avatar for jlego
0
120
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Member Avatar for Unhnd_Exception
0
164
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

0
223
Member Avatar for pardeep3dec

Dear Experts, How can i open a port no. from vb 6.0 for that programme and attach that port no. with my programme. Regards, pardeep

Member Avatar for AndreRet
0
79
Member Avatar for Naveed_786

How can i count the no of records fetched in datagrid from admission table and how to show these no of records in a label i.e Total No of records = 20 Please help

Member Avatar for AndreRet
0
178
Member Avatar for INI

Good Day All, Please anyone tell me how to open an adobe PDF file in VB6? Thank you all very much in advance. Ini

Member Avatar for satheshjsk
0
141
Member Avatar for Raihanorium

Hi everybody, I am a new user of this forum. I usually work with Visual Studio 2008 in C# .NET. I have some experience in C# and can freely meet my needs. But now-a-days, I am wondering with the design of The KMPlayer, Windows Media Player, Nokia PC Suite, Real …

Member Avatar for Momerath
0
213
Member Avatar for jlego

i have a few habbits in vb .. 1) ME before anything local in a form, example: me.label1, me.textbox1 and so on. 2) string.empty or in vb6 vbnullstring instead of = "" 3) put call infront of a function call... call pull_data instead of pull_data 3) instead of using if …

0
70
Member Avatar for kani alavi

please can someone help me to figure out the solution to my problem that the reports i used crystal report xi to create do not display in my vb6 application. however the reports i used the crystal report 8.5 to create do show in the same vb6 application. please help. …

Member Avatar for AndreRet
0
115
Member Avatar for JOSheaIV

Okay so I am writting a program that is designed to make scheduling easier at the job I work at right now. Well part of the program is that there is a DB of employees and data that can be edited from the program (pretty straight forward like any program …

Member Avatar for JOSheaIV
0
154
Member Avatar for c#dummie

how do i sort information in a listbox by name (that is, alphabetical order)? im doing c# programming n using microsoft visual studio .net 2003.

Member Avatar for jugosoft
0
700
Member Avatar for MasterGberry

I am getting the following error codes when trying to compile the following 2 files 1>c:\users\adam-7\documents\visual studio 2010\projects\chapter 13\exc_1\exc_1\cd.cpp(9): error C2533: 'Cd::{ctor}' : constructors not allowed a return type 1>c:\users\adam-7\documents\visual studio 2010\projects\chapter 13\exc_1\exc_1\cd.cpp(58): error C2264: 'Cd::Cd' : error in function definition or declaration; function not called Provided the code, any …

Member Avatar for MasterGberry
0
330
Member Avatar for Scottyyboyy

hi all, i am a newbie to visual basic .net i have a vb.net database that has 3 textboxs that go to a listbox and also store in a database. i was wondering if i can extract the data from the listbox to excel like a csv file or something …

Member Avatar for Kylua
0
105
Member Avatar for abelingaw

I would like my login form to display a message when the user logging in pressed the CAPSLOCK key when he is entering data in the password textbox. I tried using this code on Keypress Event [CODE] If KeyAscii >= 65 And KeyAscii <= 90 Then txtPass.Locked = True Msgbox …

Member Avatar for AndreRet
0
97
Member Avatar for PM312

Hi I want to display content of text boxes in its tool tip how it can be done. Thanks

Member Avatar for AndreRet
0
146
Member Avatar for Jamal Grayson

hi guys, I bought my hp pavilion.. less than a year ago and now some registries got corrupted pop-ups & saying need to restart PC... When i turn on my computer at start-up it just freezes and it takes at least 10 min to get back on it..!! I have …

Member Avatar for QuikSilver75
0
260
Member Avatar for abrarHuniedi

How I can creat Label in visual basic without drag drop in design? EX: If I enter 5 in the Textbox, and click button result will apear 5 Labeles in the form.

Member Avatar for abrarHuniedi
0
102
Member Avatar for Sawamura

hi masters... i want to get jobs in printer queue... i didn't have idea to do this. please help me. any help will be appreciated. thanks before.

Member Avatar for dstoltz
0
196
Member Avatar for kiran.madke

hi everyone i want a solution for this. i tried to check a all data from datbase table using dataset with a foreach loop. but this logic check only first row not below that so any one help me to solve this problem so i can check all rows from …

Member Avatar for CrappyCoder
0
771
Member Avatar for gisek

Hi I have a problem with vc++ (vs 2010 ultimate) debugger. I my code I use a path like this "madia/img.bmp". If I click "Start debugging" or "Start without debugging" the program doesn't load the file but if I enter the Debug folder and than double-click the exe file than …

Member Avatar for gisek
0
264
Member Avatar for mgorecki

Hello, I'm experimenting with creating a web page using VB 6.0 DHTML and have run into problem. I have a page started with text and now I want to add some buttons or elements. The book I've been using says I can just double-click on the element, or pick the …

Member Avatar for mgorecki
0
94
Member Avatar for davydick

I have a form that contains a Form_Keydown subroutine and a textbox. I am using a bluetooth numeric pad for input, so there is no mouse involved. The first keypress should display the contents of a corresponding array contents (e.g. pressing 4 should display the array's fourth element). The textbox …

Member Avatar for AndreRet
0
2K
Member Avatar for abelingaw

I'm having this problem regarding my Backup code. I get an error saying "Permission Denied". Here's my code: [CODE] Public Sub DBBackup() Dim fsys As New FileSystemObject Dim myfile As File Dim isTrue As String Dim isFalse As String Set myfile = fsys.GetFile(App.Path & "\Database.mdb") 'Create Backup folder if not …

Member Avatar for AndreRet
0
273
Member Avatar for Naveed_786

Hi all, 1. I want to know how to add a data grid in vb 6 form? 2. And how to fetch all records in data grid please help Thanks in advance for help.

Member Avatar for AndreRet
0
148
Member Avatar for cavern

hello ive problem which is every time i click search(by name) n then the next thing i click save, (after save and update my data), the button previous,next,first,last doenst work, the save button function also doesnt work. but when i click search(the name), n then the next i click the …

Member Avatar for AndreRet
0
174
Member Avatar for borntovb

Hi guys, I have been stuck on a simple code for hours can anyone help? The question is: "Suppose an array of 16 names is in ascending order. Write a procedure to search for a name input by the user. If the first letter of the name is found in …

Member Avatar for AndreRet
0
158
Member Avatar for lnimer

hi, any body can help me i need a source code for a simulation of elevator in vb or any single-queue, multi-queue simulation

Member Avatar for AndreRet
0
268
Member Avatar for tgifgemini

Hi everyone, I have a weired situation right here. My module was working perfectly all along. This morning I tried to run and got a run-time error: 1004 Application-defined or Object-defined error on this line of code. [code] With xlWksht.Range(Cells(ii + 1, 1), Cells(ii + 1, 5)) [/code] Below is …

Member Avatar for AndreRet
0
323
Member Avatar for pbunkers

I’m trying to automatically save an excel file to pdf file using visual basic. So, I will manually open the excel, upon opening the excel file, it will run code to calculate a daily totalizer (this I have functioning) as soon as this code finishes, I want the excel file …

Member Avatar for AndreRet
0
367
Member Avatar for dreamer_lek91

Hi, I have this set of coding when i use it when i am in ms access 97 but not ms access 2007. this is a set of coding for login form of ms access. Whenever i log in with the correct userid and password, it always promt me "wrong …

Member Avatar for AndreRet
0
212
Member Avatar for guia08

learn about the code of light emitting diode 8-bit in visual basic[CODE][/CODE]

Member Avatar for AndreRet
0
54
Member Avatar for divakar.it

Hello, I am getting a below error while accessing excel second time [I]run time error 1004 method sheets of object_global failed in vb6[/I] When i run the code at first time to open a excel and take a copy of the sheet, it works fine however when i run the …

Member Avatar for AndreRet
0
633

The End.