16,916 Topics

Member Avatar for
Member Avatar for geekme

Hello, I need to design front end of my c++ code in visual basic.Kindly help me provide the code as I'm a beginner. Regards

Member Avatar for davidchilders
0
65
Member Avatar for Carrots

Hi, I am new to C# and Forms/GUIs. Basically I am trying to pass a value in a textBox to my programs program.cs file where I can apply my programs logic, but I'm stuck with how to do this. To get started all I am making is a form which …

Member Avatar for Carrots
0
2K
Member Avatar for lielee

Hi. I'm having a problem to pull data from MS Access to my combobox. I know how to search one data using another data (e.g: using IC num to search name) but this time I just want to pull the data (e.g: name) that has several rows to my combobox. …

Member Avatar for CrankyMero
0
166
Member Avatar for MagnetoM

I am attempting to use a different template and write in C++/CLI. The debug file isn't being created for some reason. If I misspell a keyword or enter errors I don't see any red squiggly lines. When I attempt to compile I can't because of an error. C1083: Cannot open …

Member Avatar for MagnetoM
0
102
Member Avatar for satti

iam facing a problem ,i want to add a form to my project from another project,when i add the form and try to run it give me error,i dont know what is the problem i have added its module and database also but still giving me [COLOR="Red"](ERROR:Run time error 3709 …

Member Avatar for reygcalantaol
0
170
Member Avatar for vinothmca

I am Using Datareport but the label name was once i changed but not Changing new name in properties Caption is name New Changed name but not showing,showing only last name,so how can i change it?

0
59
Member Avatar for ZER09

hello to all, i got some problem in vb 6 in reports. actually i tried to create a simple ordering system, and i used ms acces for my database, now the problem is that when i generate a report it will show the first data of the row of the …

Member Avatar for ZER09
0
118
Member Avatar for mmmundhra

operating system : windows XP, sp3 When i click on asp.net gridview smart tag > edit columns button. Then my visual studio 2008 IDE just crashes. This problem happens in every asp.net project where gridview control is used. I think this problem occures when i enabled automatic updates in my …

0
67
Member Avatar for lielee

Hi. My problem is, the data that I pull from the database, when try to multiply it, it didn't multiply. The database has Fruit and FruitPrice column. When select fruit form the combo box, it will search the price. But I can't seem to multiply it. The price is display …

Member Avatar for lielee
0
160
Member Avatar for satti

Hi , i use enable choice function to enable or disable the ADD button for data grid. now when i tried to use the code for update button its not working.. need to add cmdUpdateEntry. here is the code..[CODE]Sub EnableChoice() ' disable to remove button ' check to see if …

Member Avatar for satti
0
223
Member Avatar for happy006

Hello, I had convert my program from vb6 to vb.net, how come there is a error when i debug?? [url]http://img51.imageshack.us/i/debugerror.jpg/[/url] Pls help me, URGENT!!!!!

Member Avatar for happy006
0
382
Member Avatar for sureshprg

I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem?

Member Avatar for ddanbe
0
104
Member Avatar for a.muqeet khan

[CODE]#include "stdafx.h" #include <iostream> using namespace std; class distance { int feet; float inches; public : distance ():feet(0),inches(0) {}; distance(float in,int ft): feet(ft),inches(in) {}; void getdist() {cout<<"enter the values of feeet and inches "; cin>> feet>>inches;} void showdist() {cout<<"feet= "<<feet<<"\n inches="<<inches;} distance add_dis(distance);}; distance distance::add_dis(distance d2) { distance temp; temp.inches= …

Member Avatar for a.muqeet khan
0
169
Member Avatar for pito_donje

Public Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long x = SystemParametersInfo(97, 1, CStr(1), 0) 'Disable Ctrl+Alt+Del Keys combination 'Use as in --->>> If KeyAscii >= vbKeyA And KeyAscii <= vbKeyZ Or KeyAscii …

Member Avatar for Jx_Man
0
94
Member Avatar for vinothmca

I am Using datareport When i was add the data and print to ok the output of report has Previous datas all are showing? so how can i get current data alone?

Member Avatar for reygcalantaol
-1
169
Member Avatar for jowana

Hello, I am wotking on a project for 'segmentation' using ITK in C++ in Visual studio 2008 now, I want to copy an example code from Examples in ITK and use it in my program. To be specific , I am using "ShapeDetectionLevelSetFilter" If I try to build my program …

Member Avatar for Ancient Dragon
0
179
Member Avatar for Fortinbra

Anyone have any recommendations for a source or version control software for team development that isn't visual source safe(my boss hates it with passion). We're currently looking into Team Foundation Server 2010, I know it's the replacement for VSS, but my boss doesn't know that, yet... Any other recommendations that …

Member Avatar for divin757
0
331
Member Avatar for j23

Im trying to write a program which simulates ten coin tosses and returns the results to the user .can anyone help please!! [CODE] Imports System.IO Imports Microsoft.VisualBasic.ControlChars Public Class Form1 'write a program that simulates 10ncoin tosses using Random Number generator + Returns the results to the user. Private Sub …

Member Avatar for j23
0
1K
Member Avatar for sms5660

I am really confused about how to write functions before main(). My teacher didn't explain it well at all or the stipulations. I have a homework assignment due this weekend and I am so confused. Here is the prompt, below that is my program and what I think I should …

Member Avatar for sms5660
0
134
Member Avatar for Anthonynz

Hi. I have written a process that takes a list of values from a spreadsheet and updates a foxpro table, adding records if they do not exist, or updating them if they do. I determine if the record exists by a seek command, which works fine. But if my process …

Member Avatar for sidnei
0
263
Member Avatar for debasisdas

I request every one who comes across this to post you feedback here on [URL="http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/355316"]this[/URL] thread. I just want to understand is it a crime to ask someone to show some effort / the code that s/he is working on before assisting them in solving their issue. I have been …

Member Avatar for VernonDozier
0
204
Member Avatar for scrapple

Upon booting up my laptop today, Avast started showing me an alert for a "Malicious URL" even though I had no applications started and had not yet performed any actions. The popup message indicated that the site trying to be reached was 68.178.232.99/wpad.dat and the process trying to reach it …

Member Avatar for jholland1964
0
469
Member Avatar for bklynman01

Hello - I am using Visual Studio .net 2008. I have a form that has a tabpage control in it with 5 pages. I need to add another page, but in position 2, not at the end. Is this possible? I do not see any settings for the position of …

Member Avatar for bklynman01
0
99
Member Avatar for TheDocterd

Hi There I just wanna find out how I can save some data to a text file or access database (doesn't matter - the one that's the quickest). What my form does is it has a list box with ID's in it. I can select them. Then I have a …

Member Avatar for AndreRet
0
192
Member Avatar for pito_donje

on each form is the "X" at the top right of Form. how ya how to disable or remove "x" is it?

Member Avatar for Jx_Man
0
124
Member Avatar for Danny1994

Hello, im currently using this kind of Hotkey : [CODE] if(GetAsyncKeyState(VK_F1)) { if (this->checkBox1->Checked == false) { this->checkBox1->Checked = true; } else { this->checkBox1->Checked = false; } }[/CODE] But its not very good. I couldn't find a better way to do this :/ (im using Visual Studio 2008) Anybody knows …

Member Avatar for pseudorandom21
0
113
Member Avatar for jasneg16

i'm trying to make a hangaroo game imitation but i dont know how to make the 4 labels to individually be marked as "X" when i click the wrong letter. i made all the letter answer invisible and the "X" mark invisible [CODE]' the Answer is "PLANTS VS. ZOMBIES" Private …

Member Avatar for jasneg16
0
100
Member Avatar for triumphost

I've download this following program source from a SVN repository.. [url]http://blanddns.no-ip.org:81/repos/public-smart/[/url] How do I compile it?? I've tried but it has c++ and java files included in it.. and some are even in separate folders. Can someone tell me how? Do I have to do command line? Do I need …

Member Avatar for triumphost
0
115
Member Avatar for shena

Hi all, I have a column with duplicate serial numbers. I would like to find those duplicates and then highlight the whole row. How do i perform this in macro? Pls help anyone.

0
45
Member Avatar for Khoanyneosr

[CODE]#define WIN32_LBAN_AND_MBAN #include <windows.h> LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { WNDCLASSEX windowClass; ZeroMemory(&windowClass, sizeof(WNDCLASSEX)); windowClass.cbSize = sizeof(WNDCLASSEX); windowClass.style = CS_HREDRAW | CS_VREDRAW; windowClass.lpfnWndProc = (WNDPROC)WindowProc; windowClass.hInstance = hInstance; windowClass.hCursor = LoadCursor(NULL, IDC_ARROW); windowClass.hbrBackground = (HBRUSH)COLOR_WINDOW; …

Member Avatar for Khoanyneosr
0
138
Member Avatar for ITKnight

Hi all, I already save my login config at registry. Thanks to Jx_Man and Debasisdas for helping me on previous thread. My following code running nicely. [CODE]SaveSetting "AddressBook", "Login", "Username", Trim(txtUserName.Text)[/CODE] My settings currently saved on "HKEY_CURRENT_USER\Software\VB and VBA Program Settings\AddressBook\Login" How i can save it one level more deeper. …

Member Avatar for ITKnight
0
101
Member Avatar for pito_donje

Private Sub Command2_Click() CommonDialog1.ShowOpen Text5.Text = CommonDialog1.FileName Picture1.Picture = LoadPicture(Text5.Text) Text5.Visible = True End Sub

Member Avatar for pito_donje
0
141
Member Avatar for ITKnight

Hi all, I want to save some form setting at registry, my friend told me that vb has a function to save it.. what it is? and how to use it? Please Help Thanks

Member Avatar for ITKnight
0
701
Member Avatar for ITKnight

Hi all, How i can split a string that include spaces by "&" ? I already used split function but there are problem with spaces. thanks.

Member Avatar for ITKnight
0
211
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for Momerath
0
123
Member Avatar for yineth888

i need to write a separate program (this program is not connected with my assignment) to validate e-mail, phone number, group, GPA so far this is what i have...i need help please Private Sub btnEmail_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEmail.Click Dim Symbol1 As Integer Dim Symbol2 …

Member Avatar for debasisdas
0
94
Member Avatar for sidnei

Hey, guys (and girls...)! I'm in trouble with (like it seems to me) a little bug on Hierarchical FlexGrid control... Let me explain: I want to merge some content between cells. I made it many times before, but in the FlexGrid control, not the Hierarchical Flexgrid conrol - for sure, …

0
234
Member Avatar for Jaseem Ahmed

i am having some problem in navigating records... when i am moving any record next, it moves record by record nect,and also it moves previous,but when i either press last or first, then these both next and previous button do not work.. here is a code. [CODE] Private Sub movefirst1_Click()'it …

Member Avatar for Jaseem Ahmed
0
1K
Member Avatar for doremon89

Can anyone help me show how to upload file into database which is ms access. The file can be document,picture or video..Anyone???

Member Avatar for doremon89
0
49
Member Avatar for Jaseem Ahmed

can u pass an idea... is this is possible to plus all that items(Integer) that are in listbox or listview... e.g a list box have 4 items... 1)-20 2)-40 3)-80 4)-100 is this possible to plus these items,??? items also can b infinite, depends upon user...i dont have any idea, …

Member Avatar for AndreRet
0
139
Member Avatar for jogieglenmait

hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form. ex. form 2 command button will be activated by manipulating it in form 1. i had this syntax for form 1 cmdActivate [CODE] form2.cmdAdd.Enabled=false [/CODE] will form 2's …

Member Avatar for jogieglenmait
0
105
Member Avatar for josephbeluan

HI, I'm new to VB6 programming and i need some help of anyone to please help with my problem. I want to know what do I need to do or know before to create a code that connect VB6 to my SQL. and if you desire please give a sample …

Member Avatar for Jx_Man
0
122
Member Avatar for StephNicolaou

Morning all, Unfortunately I am currently working with Access VBA. I have a simple method; moving an object on a form: [code] button.Top = button.Top - 20 [/code] However on click, I receive the 'Invalid Outside Procedure' message, including: *The exression may not result in the name of the macro, …

Member Avatar for StephNicolaou
0
169
Member Avatar for Casper3912

I have a assignment which requires the use of multiple files. I don't believe I am linking them together correctly. I'm using visual basic 2008 at the moment. Ofter I get the program working I'll create a make file and test that. I'm also not too familiar with the string.h …

Member Avatar for thekashyap
0
189
Member Avatar for lianpiau

Who can help me?? [B]Microsoft Visual Studio 2008 Window Form Application C#[/B] I'm want store some data and picture in access database and display the data and picture in datagridview. when the user double click the record in datagridview. it will display data and picture into above textbox for update …

Member Avatar for lianpiau
0
320
Member Avatar for ben25x

Hello everyone. I am looking to see if there is any possible way Visual Basic 6.0 code can run in Visual C++ 2008 Express. Any help would be very appreciated.

Member Avatar for Ancient Dragon
0
433
Member Avatar for JerieLsky

Hi.. another post from me on how to retrieve a picture of a certain person from MS Access Database using the OLE Object.. Any one who can show me some samples how? Thanks for the time.

Member Avatar for doremon89
0
194
Member Avatar for ben25x

I have figured out how to create command buttons and have tried to change their general color, but to no avail. This is what I tried, but it did nothing: [CODE]Option Explicit Dim WithEvents Com As CommandButton Private Sub Form_Load() Set Com = Me.Controls.Add("vb.commandbutton", "BtnName") With Com .Left = 100 …

Member Avatar for WaltP
0
4K
Member Avatar for Tamlyn

Hey everyone :) I've been working on the first part of a program which I'm doing in 4 steps. Here's the first step which I have completed: Function inputAndValidate This function inputs the time. The time should be entered as two separate values for the hours and minutes. Do not …

Member Avatar for Tamlyn
0
151
Member Avatar for d_panayotov

Hello, I have this assignment in C. The problem is that the functions have to be placed in separate files instead of just one. I haven't done that before. It seems code that would have run if the program was written in one file doesn't work when the functions are …

Member Avatar for d_panayotov
0
172

The End.