16,916 Topics
![]() | |
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 | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!!!! | |
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? | |
[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= … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
on each form is the "X" at the top right of Form. how ya how to disable or remove "x" is it? | |
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 … | |
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 … | |
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 … | |
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. | |
[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; … | |
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. … | |
Private Sub Command2_Click() CommonDialog1.ShowOpen Text5.Text = CommonDialog1.FileName Picture1.Picture = LoadPicture(Text5.Text) Text5.Visible = True End Sub | |
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 | |
Hi all, How i can split a string that include spaces by "&" ? I already used split function but there are problem with spaces. thanks. | |
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, … | |
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 … | |
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, … | |
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 … | |
Can anyone help me show how to upload file into database which is ms access. The file can be document,picture or video..Anyone??? | |
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, … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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. | |
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. | |
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 … | |
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 … | |
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 … |
The End.