16,916 Topics

Member Avatar for
Member Avatar for pankaj.garg

i have 2 forms..when i start my application..form1 loads...then i navigate to form2 and adds some data in database using controls on form2, which should also reflect on form1... My data is not getting reflected on form1, after i hide form2...before giving "form2.hide", i tried giving "form1.show" and "form1.refresh" but …

Member Avatar for abu taher
0
274
Member Avatar for venkatnams

[B]hello everybody, im venkat doing my b.e 3rd year... Im currently working on my project of college administration system using vb6. I need help on how to save an image in the access database...i have got the code on how to browse an image. but i'm not able to find …

Member Avatar for RobCr
0
3K
Member Avatar for Afi83

I want to calculate average of grades of each student with SQL command but I encounter problem with this code. I have 3 tables related to each other and want to calculate average of student grades. This is my SQL string but it dose not work. What is the problem …

Member Avatar for coolguy_krkr
0
149
Member Avatar for memory100

i am using visual basic console application to create programs and here is the question. 4. A program is required for a grocer that will add two weights together (in pounds and ounces). The program should also convert the total weight to a value in kilograms. Use three functions. Function …

Member Avatar for Geekitygeek
0
211
Member Avatar for wilder1926

Hello everybody, I have an issue with a code. I'm don't know how to start this. Here is my problem: Column 2 of my MSFlexgrid = store number. Ex: 1009,1010 etc. In column 20 of my MSFlexgrid = Delivery day. Ex: Sun, Mon, Tue......, Now if store 8009 have multiple …

Member Avatar for Jupiter 2
0
190
Member Avatar for pankaj.garg

how can i create an database dynamically i.e. my code creating database while running taking an user input?? i have seen code like below working Dim db As Database Dim ReS As Recordset Set db = OpenDatabase(App.Path + "\Data\" + Userinput + "\Memo.dat") Set ReS = db.OpenRecordset("Memo") ReS.AddNew ReS("Title") = …

Member Avatar for jireh
0
222
Member Avatar for XStrong

Here is the code I'm working on. The user should be able to type in a number and then after clicking the button, list (in a listbox) of all the prime numbers leading up to the number (including the number if it's prime) MY ERROR/PROBLEM: When i input a number …

Member Avatar for XStrong
0
261
Member Avatar for a_arunsankar

Is there any possibility to use Silverlight with ASP.Net 2.0? If so, can anyone help me which version of Silverlight can be used with ASP.Net 2.0 and the how to use it?

Member Avatar for catherine sea
0
68
Member Avatar for khess

Today, Tuesday November 10, 2009, [URL="http://www.novell.com"]Novell[/URL] announces a Visual Studio plugin that allows support for non-Microsoft operating systems that use .NET code development on a platform known as [URL="http://go-mono.com"]Mono[/URL] via a new product called [URL="http://go-mono.com/monovs/"]Mono Tools for Visual Studio 1.0[/URL]. This is not a cost free toolset. In fact, it's …

Member Avatar for khess
0
607
Member Avatar for evilsithgirl

Hello. I'm pretty new to debugging with visual c++. I've tried reading some tutorials but none of them seem to cover what my program is doing. i enter the command arguements for my code which is the file ./input.txt. I then get the following error. [code] 1>c:\documents and settings\jennifer\my documents\visual …

Member Avatar for JasonHippy
0
140
Member Avatar for drabsch

I am using a MDI Form and several documents can be opened using "CommonDialog1.ShowOpen" If i open a file then go back to open another file but click cancel or the "x" then it will open the last file. so i need to know how to clear the "#1" my …

Member Avatar for vb5prgrmr
0
540
Member Avatar for liemonline

Hi, I'm a beginner to C++. I'm writing a linked list template but I get this error: 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::~List<int>(void)" (??1?$List@H@@QAE@XZ) referenced in function _main 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::List<int>(void)" (??0?$List@H@@QAE@XZ) referenced in function _main I'm using Visual …

Member Avatar for jonsca
0
1K
Member Avatar for A.Najafi

Hi All, Using Visual studio 2008, I have an application that its data can save to a binary file, using *.SDB extension, Moreover users can open this file from my application. I have 2 questions about this. 1- How can I assign an icon to this saved file with SDB …

Member Avatar for A.Najafi
0
91
Member Avatar for herms14

guys I'm just new with visual basic. I would like to ask a question regarding coordinates.. Suppose I have object lets say a button how do i get the coordinates of the button in the form? also I want to button to move given a particular path, example if i …

Member Avatar for herms14
0
115
Member Avatar for lotrsimp12345

1>c:\users\...\documents\visual studio 2008\projects\generic bst container\generic bst container\my_bst.h(80) : warning C4717: 'my_bst<int,int>::insert_sub' : recursive on all control paths, function will cause runtime stack overflow TEST.CPP #include <iostream> #include "my_bst.h" using namespace std; int main() { my_bst<int,int> ab; ab.insert(5,10); return 0; } MY_BST_NODE.H #ifndef MY_BST_NODE_H #define MY_BST_NODE_H #include <iostream> using namespace std; …

Member Avatar for Kontained
0
198
Member Avatar for 4ukh

dear all, what is the sql command for ms access 2007 to get the tables name of the database? and also how to put these names into a list box? thanks in advanced. 4ukh

Member Avatar for 4ukh
0
120
Member Avatar for srikanth48

Type BITMAPFILEHEADER bfType As Integer bfsize As Long bfReserved1 As Integer bfReserved2 As Integer bfoffbits As Long End Type Type BMPInfoHeader biSize As Long biwidth As Long biheight As Long biPlanes As Integer bibitcount As Integer biCompression As Long bisizeimage As Long biXPelsPerMeter As Long biYPelsPerMeter As Long biClrUsed As …

Member Avatar for vb5prgrmr
0
328
Member Avatar for MichaelSammels

I have the following code: [code] For lngPosition = LBound(strNames) To UBound(strNames) mainForm.NameDisplay.Caption = strNames(lngPosition) mainForm.StockDisplay.Caption = intLevels(lngPosition) Next lngPosition [/code] This code, in my opinion, should print everything in array in a label. However, it only prints the last element of the array. Anyone got any ideas on how …

Member Avatar for MichaelSammels
0
204
Member Avatar for JonnyHawes

Hello everyone! So as my first post, I would like to say I am in no way unfamiliar with Visual Basic or programming in general, but this Database integration is giving me quite a problem! lol So basically I have a VB 2008 Project with a single form that displays …

Member Avatar for JonnyHawes
0
174
Member Avatar for sonygamer

Hello everyone, I'm currently having some problems with this code. I am getting many compiling errors and i was wondering if you guys could help get rid of them. [CODE]#pragma once #define CAPACITY 128; typedef int QueueElement; class Queue { public: Queue(); int empty(); void enqueue(const QueueElement & value); void …

Member Avatar for sonygamer
0
179
Member Avatar for deftones

Hi, Let's say I have a form full of objects and want to make all of them (or half of them, whatever) invisible. Is there a short way to do that without a need of setting visible to false individually to each object?

Member Avatar for deftones
0
182
Member Avatar for deftones
Member Avatar for deftones
0
149
Member Avatar for Lolalola

Hi, I'm trying to create a program which provides a key strength. Visual studio don't show errors, but the program hangs on QuadWordFromBigEndian functions. Whats wrong? Program stop workin on this line: [CODE]01.x = ( (((UInt64)block[0]) << 56) | (((UInt64)block[1]) << 48) | 02. (((UInt64)block[2]) << 40) | (((UInt64)block[3]) << …

Member Avatar for Lolalola
0
125
Member Avatar for Israelsimba

i am trying to make sure that one record is not entered twice into the same database but the code i am using is giving me an error [CODE]Set ri = deSub.conn.Execute("SELECT* FROM individualsubs WHERE firstname = '" & txtfname.Text & "' AND surname = '" & txtsurname.Text & "'") …

Member Avatar for vb5prgrmr
0
156
Member Avatar for mnewsome

I write as the owner of a small IT consultancy for systems administration. We own Visual Studio 2008 Team Suite and thought it might draw independent developers so that we can offer additional services. We now find that a significant number of developers are using 'Subversion' the free developer product. …

Member Avatar for sknake
0
192
Member Avatar for brendajean

I am trying to create an If Then statement to use in an excel spreadsheet using data from 2 or 3 columns. Column AB has text. Column AA has a date in it. I need the statement to say if column AB says RFEP or TRFE and Column AA is …

0
112
Member Avatar for chuckc

My name is Chuck. I am a semi-retired IT consultant. I got started in the computer field when minicomputers were still hot. Over the years I have done programming in a number of different languages, but my strength is probably more in financial application design. Currently I am trying to …

Member Avatar for jbennet
0
83
Member Avatar for Gangstafier

I am currently trying to create a Web Design program, freeware, for use to help with the aid of web design. I want it to be sorta like... "Web-Design-Toy" by ACME, only with more features. To where when you type in the textbox, it comes out in a live view …

Member Avatar for kvprajapati
0
153
Member Avatar for Israelsimba

I have a subscription system that i have developed. the system is supposed to automatically subtract the number of copies given to a client every monthend as per request they made of the copies required upon joining. my problem is i cant make my code run through my database so …

Member Avatar for Israelsimba
0
109
Member Avatar for RobEin

Hi Everyone, This feauture enables to use "Try" exception handling in VB programs like VB.net Try-Catch statement. [URL="http://sites.google.com/site/truetryforvisualbasic/"]http://sites.google.com/site/truetryforvisualbasic/[/URL] I think it's a new way of exception handling in VB 4,5,6, VBA and VBScript. I'm waiting for opinions.

Member Avatar for RobEin
0
5K
Member Avatar for lein.o16

okay. i'm an B.S.I.T student and we're going to develop a system. i hope you can suggest a unique system. my professor doesn't like common system: library system, student information system, etc. hope you guys can suggest some. we might use VB6, VB2008 or VB.net. it's up to our prof. …

Member Avatar for vb5prgrmr
0
141
Member Avatar for nagatron

Is it possible to make a program using VB where you let people visit a site and get their IP address and use their IP address to click the link which is inside the site they visit? Ex. My site location is: [url]http://www.mysite.com[/url] And this site contain one link name …

Member Avatar for vb5prgrmr
0
135
Member Avatar for karthiknvs

Hi all, I am new to VB. i want to know how to connect to a remote server and run three batch files with some arguments, over there. E.g. machine Ip Address:xxx.xxx.xxx.xxx username:test password:test I have to connect to the machine name and run the batch files. Please suggest a …

Member Avatar for vb5prgrmr
0
104
Member Avatar for tomtetlaw

When I try to compile my code, I get this error: [code]------ Build started: Project: SUD, Configuration: Debug Win32 ------ Compiling... baseent.cpp c:\program files\microsoft visual studio 9.0\vc\include\xmemory(52) : error C2558: class 'BaseEnt' : no copy constructor available or copy constructor is declared 'explicit' c:\program files\microsoft visual studio 9.0\vc\include\xmemory(155) : see …

Member Avatar for JasonHippy
0
611
Member Avatar for hhh0505

i'm new to visual basic and I managed to make somewhat of an assignment I need. now it's not perfect but, I am terrible when it comes to calculations... what am I doing wrong? ;-; ' This procedure calculates and displays each floors ' occupancy rate. Dim intCount As Integer …

Member Avatar for hhh0505
0
2K
Member Avatar for deftones

Hi again, I have a huge code written, but I'm not even halfway there. Had to split couple of procedures to make everything work smoothly etc. I was wondering, would it be reasonable to put some of my code into modules, in order to avoid compiling or similar errors in …

Member Avatar for deftones
0
90
Member Avatar for deftones

Hey, How not let the user to close a form with a close button? Basically, I need a form to be hidden most of the time, but sometimes it is shown by the code (intentionally). And when you hit close button, user not only closes the form, but unloads it …

Member Avatar for deftones
0
100
Member Avatar for esspeter

Read a post that had a similar scenario and wonder how it was solved. environment VB6, sql server 5.0, windows 2003 server, xp sp2 clients Randomly getting data populated with first record information. original post was from looney064 on 6/24/08 Just joined so if this is out of format please …

Member Avatar for vb5prgrmr
0
102
Member Avatar for RgCz

In Visual Basic 2008 Express edition: Create a new string replacing the order of the words, from last one to the first one and show it in a text box Example: Input: “This is an example” Output: “example an is This” I know theres a function to reverse the letters …

Member Avatar for RgCz
0
158
Member Avatar for rino699

how to get string from other function? i tried this , but come error... i using Visual Basic C++.... [CODE] void main() { char name[51]; name=NAME(); } int NAME() { char names[51]; names="john"; }[/CODE]

Member Avatar for Tom Gunn
0
131
Member Avatar for Sailor_Jerry

I get this script error “Invalid argument” when using appendChild(). When in Microsoft Visual Studio Debugger I see “htmlfile: Invalid argument”, and the line it blows up on is t.appendChild(n); The div I want to append the child div to is the top most div in the dom. Anyone see …

Member Avatar for ddsuresh
0
279
Member Avatar for WordScript

Hello, would you please assist me in solving this problem: I have an Excel object (Excel.Sheet.1) in MS Word document. I'm trying to write a Visual Basic macro for MS Word to change the data in cell A1 of this table. How can I access the cell? I can only …

Member Avatar for sabarishjm
0
191
Member Avatar for don0369

Hello all, I'm currently using Windows Vista and Visual Studio 2008 to develop my code. I'm working and a very big project and I'm looking for a good profiler for performance analysis. Any recommendations? It would also be nice to keep the solution as low cost as possible (free is …

Member Avatar for potatosoftware
0
130
Member Avatar for babbu

m using visual studio 2005 and sql server 2005. i want to create a backup of the sql server which m doin using the following code.. [CODE] if (saveBackupDialog.ShowDialog() == DialogResult.OK) { SqlCommand cmd = new SqlCommand(); cmd.CommandText = @"backup database dbname to disk =@loc with init,stats=10"; cmd.Parameters.Add("@loc", SqlDbType.VarChar); cmd.Parameters["@loc"].Value …

Member Avatar for babbu
0
195
Member Avatar for dalcocer

I was running into run time errors, and stripped down my code to isolate the problem. From that I was able to write this little piece of code to demonstrate my issue: [CODE] #include <windows.h> class test { private: int a; public: test(); void run(); }; test::test() { a = …

Member Avatar for abhi_elementx
0
106
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Date Boolean Bytes

Member Avatar for kvprajapati
0
138
Member Avatar for Alice86

Hi all, I now using Visual C++ (Visual Studio 2005) for my project. i face some problem in set the maximum length for my edit control(text box). i have 3 edit control in the same dialog. i want set the maximum length for each edit control = 5. following are …

0
45
Member Avatar for ab00120

Hi there, I am currently attempting to enhance an old program to use Windows Forms in C++. From what Ive read it would be preferable to use Visual Basic or C#; however in its current state, combined with my lack of experience in C#/VB this would be a real struggle …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Byte Date Boolean

0
58
Member Avatar for tomshulski

I am working with VB6 (Pro. Edition) and in my tool box I do not have the slider control. Does anyone know how I can add that to my programs?

Member Avatar for mehrzad1373
0
508

The End.