4,928 Topics

Member Avatar for
Member Avatar for Subhajyoti_Saha

Hi, I am trying to create a custom listbox control by inheriting the default system.windows.controls.listbox class which would automatically select the item based on keyboard input. Currently the listbox provided in Visual Studio is capable of searching only on the first letter, but I am trying to create onw which …

Member Avatar for artemix22
0
103
Member Avatar for nuclear

Maybe I'm just missing something but I was thinking what do you call something like a Windows Form Application in Visual Studio where you can drag and drop and stuff like that. Do you call that an API or SDK or GUI or something else? By the way, as I …

Member Avatar for mike_2000_17
0
246
Member Avatar for NyQii

Im trying to run a sipmple program in c++ using openGL but get these errors... can somebody please help me? Error 1 error LNK2028: unresolved token (0A00002D) "extern "C" int __stdcall __glutCreateWindowWithExit(char const *,void (__cdecl*)(int))" (?__glutCreateWindowWithExit@@$$J18YGHPBDP6AXH@Z@Z) referenced in function "extern "C" int __stdcall `anonymous namespace'::glutCreateWindow_ATEXIT_HACK(char const *)" (?glutCreateWindow_ATEXIT_HACK@?A0x6d0c8cb1@@$$J14YGHPBD@Z) c:\Users\SuranĂ©\documents\visual studio …

Member Avatar for NyQii
0
226
Member Avatar for denethor

Hello do you know whats wrong with this code? #include <stdio.h> #include <allegro5\allegro5.h> #include <allegro5\allegro_primitives.h> #include <allegro5\allegro_image.h> int main() { al_init(); FILE* pFile; return 0; } If I compile it, it fails and output is: main.c 1>c:\users\beda\documents\visual studio 2010\projects\c allegro\c allegro\main.c(9): error C2143: syntax error : missing ';' before 'type' …

Member Avatar for Ancient Dragon
0
185
Member Avatar for RichardLim

I am a newbie in programming and I'm using visual studio. i typed in this #include <stdio.h> #include <conio.h> #define PI 3.1416 void main(void) { float radius, circumference, area; radius = 2.5; circumference = 2 * PI * radius; area = PI * radius * radius; printf("radius of a circle …

Member Avatar for BobS0327
-1
95
Member Avatar for Eniekko

hi! I've searched for backup and restore codes. I've also tried them out but they won't function as I want them to. I think the main problem is that, the database that I want to backup is contained inside the visual studio project under App_data. Can anyone please help me …

0
70
Member Avatar for pjh-10

how do i get output which would normally appear on the screen, as in the Microsoft visual studio command prompt, written to a file such as a simple text file. say << X << is the output, what do i do from here? thanks

Member Avatar for BobS0327
0
491
Member Avatar for jrpaarlberg

I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs …

0
120
Member Avatar for jdevin1

I am trying to create a sort of code library in visual studio 2010 where the form displays a list box of certain project files in vb that i have made in the past and when selected, a button can be pressed that launches the .exe files of those visual …

0
125
Member Avatar for SillyNoob

**IDE: **MS Visual Studio 2008 Professional **Compiler:** Unknown First off let me thank any of you who take the time to read this and reply back. I'm having a ridiculous amount of trouble returning a pointer from a function and then using that returned pointer to change the pointer-pointer in …

Member Avatar for SillyNoob
0
234
Member Avatar for Skeldave

Hi, I am getting the following error and I cannot understand why. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Before i try and insert the data into the database I print it out and this is what i get: **09/04/2012 00:00:00** The code below is …

0
94
Member Avatar for tiredstruggler

My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'(

Member Avatar for Philippe.Lahaie
0
64
Member Avatar for Daffodil_Thursday

I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms …

Member Avatar for thines01
0
231
Member Avatar for Maha Sh.

Hi All, I am using Visual Studio 2010 and for my database I'm using SQL I am trying to make a multi user login and valdate the input with my datatable the problem is that i made a login page but it's just check the username and the password but …

Member Avatar for Maha Sh.
0
116
Member Avatar for mobeen89

Hello I'm relatively new to Microsoft Visual Studio. Now, the project that I am working consists of a GUI class and two separate classes (lets call them A and B). I am working on the GUI and one of the other classes (A). Basically, these classes interact woth some hardware …

Member Avatar for mobeen89
0
178
Member Avatar for sora90

I am trying to block a list of processes from Txt file/ Listbox Process using Timer. Here's a list of the codes Code blocks are created by indenting at least 4 spaces ... and can span multiple lines Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick …

0
131
Member Avatar for rigoalhn

Hi guys, im pretty much done with my program but im receivin an error that i cant find where it its. Im using a WPF application in visual studio and it uses a service reference that contains addresses and zip codes. The purpose of the program is for the user …

Member Avatar for rigoalhn
0
285
Member Avatar for ttugates

Hi, I am writing a program that displays a 2D array of strings, (non jagged) onto a windows form using Visual Studio 2010 and C#. For example: string[,] fds = new string[,] {{"ant", "aunt"}}; I attempted using the dataGridView controll, dataGridView1.DataSource = fds; but, get the length of the value, …

0
93
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me [code] //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> …

Member Avatar for raptr_dflo
0
472
Member Avatar for Huston

Hey guys, I am making a simple c++ compiler with Visual Studio 2010, but I am stuck on the converting it to assembly bit(with c++ coding). What I am trying to do is convert the code they type(in a cpp file) to assembly, then translate it to machine code etc. …

Member Avatar for Huston
0
4K
Member Avatar for madmax_5

I'm new to assembly and just trying to figure out how I would display a table with values that are serparted with lines. I'm using emu8086 or visual studio but seems more difficult to use. If you can help with code or psuedo and general direction, very much appeciated.

Member Avatar for thines01
0
89
Member Avatar for Mr.BunyRabit

I would like to know, theres no where on the internet i can find out how to make an auto numbering field EXPRESSION to auto increment my row. ive tried =RowNumber["xxx"] But nothing works... Any help?

0
50
Member Avatar for Aneeque

My code is perfectly working on Borland compilers but its not working on MS VISUAL STUDIO ..... please help me that how can i run this code into visual studio ...... ~~~ #include<iostream.h> #include<conio.h> #include<stdio.h> void main () { char array[11]; int temp; array[2]='/'; array[5]='/'; cout<<"Enter Date: "; for (int …

Member Avatar for VernonDozier
0
84
Member Avatar for Mr.BunyRabit

I have a report viewer in Visual studio. Now the report works fine. I can sort my report and what have you. But what i cant do is get what's outside the report viewer inside the report. How would i do that? I attached a photo to show you what …

0
64
Member Avatar for Kathkat

Hi there, I am hoping that somebody here might be able to help me. My kids managed to get some virus on my computer while I wasn't at home. I twigged when I got a popup box at my online banking sites.. eek! I ran AVG and it found a …

Member Avatar for Shinedevil
0
193
Member Avatar for dsmoore

I have the following code that I cannot figure out how to get to work: namespace Project2 { public static class Variables { public static List<string[]> tran1; public static List<string[]> tran2; } } private void Submit_Click(object sender, EventArgs e) { //Find the schedules // Variables var; string[] transaction; transaction = …

Member Avatar for dsmoore
0
222
Member Avatar for Roger_1984

Hello guys, Recently, I'm working on a project to develop voice activation detection for my predicative dialer system. I'm using a sample program called Ozeki VoIP SIP SDK and I'm quite satisfied with it. This SDK is very flexible as you can implement it to already existing systems. You can …

0
157
Member Avatar for jtbens01

Hey guys, I'm getting some kind of linker error. Any help would be appreciated. Here is what I have.. Header File: #ifndef _LinkedSortedList_ #define _LinkedSortedList_ #include "LinkedNode.h" #include "SortedList.h" template <class Elm> class LinkedSortedList : public SortedList<Elm> { public: LinkedSortedList(); ~LinkedSortedList(); void clear(); bool insert(Elm newValue); bool getfirst(Elm &returnValue); void …

Member Avatar for jtbens01
0
136
Member Avatar for jasleen_kaur

Hello, I want my program to take input from a file rather than from keyboard and also output it to a file not screen. I tried writing prgram. This is what I wrote in visual studio... 1. #include<iostream> 2. #include<conio.h> 3. #include<stdio.h> 4. using namespace std; 5. void main() 6. …

Member Avatar for jasleen_kaur
0
1K
Member Avatar for Gobble45

hello all, Ive been trying to figure out how to find the next empty row in an excel spreadsheet. My project is a VB project, written in Visual Studio 2010 Express. What i need to do is open the spreadsheet (that is predefined) and find the next available row. (in …

Member Avatar for Reverend Jim
0
967
Member Avatar for shah1509

I have an application that can filter a datagridview based on date using a datetimepicker. The "date" column in my database is a datetime data type, hence it will contain a date and time stored within but there is some data which have only dates. My problem is my datetimepicker …

Member Avatar for Mitja Bonca
0
619
Member Avatar for Billy1984

Hello there, Nowadays, I'm planning to develop a chat program (school project) and I need some help/advice. I did a little research and I have found a site with a sample program for chat building, it's called Ozeki VoIP SIP SDK. On this page, I found a good description of …

0
129
Member Avatar for outout1234

I am using mysql server 2012 and visual studio 2012 C#, i created a database and i can read the data from my database. The problem is that i cannot insert data into my database. Although the return value of the execution is 1, i dont see any changes in …

Member Avatar for Mitja Bonca
0
231
Member Avatar for game4tress

I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well …

Member Avatar for nmaillet
0
302
Member Avatar for dr_Terminal

hi all ; i was reading n gettin help from this web site for a long time. i thought that it's time to register ! to keep my knowledge and develop it up. i am coding php n python. on middle level. n learning c#. which has the best IDE …

Member Avatar for Dani
0
32
Member Avatar for miramiey

Hai, I am doing a registration system, and my system should have a report by using a bar/pie chart. How i want to create a bar chart with value generate from database. what component should i have to create those chart? im using visual studio 2008 and mysql query... Anyone …

Member Avatar for Begginnerdev
0
273
Member Avatar for miramiey

Hai, I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql... 1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on …

Member Avatar for Begginnerdev
0
348
Member Avatar for redrobby02

Hi I am using jedi visual code libary with rad studio xe2. I have a question about using TJvImage. When i place an image on my form and add all the correct image states to JvImage1.Pictures if i disable the control and then test my project, the image is not …

Member Avatar for pritaeas
0
142
Member Avatar for ThomsonGB

Without the complete context to summarize: [CODE] #include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <objbase.h> using namespace std; BYTE* StringToGUID(LPOLESTR szBuf) { GUID *g = (GUID *) malloc( sizeof(GUID)); HRESULT h2 = CLSIDFromString(szBuf, g); return (BYTE*) g; } [/CODE] I Get: 1>Linking... …

Member Avatar for ThomsonGB
0
2K
Member Avatar for mnewsome

I write as one just starting to learn to use Visual Studio 2008. Is there a version of SQL server built into Visual Studio 2008 Team Suite? I have heard of SQL Lite but do not know if a database app already exists within Visual Studio. Seeking guidance on how …

Member Avatar for Mitja Bonca
0
110
Member Avatar for creative_m

I am trying to compile NeHe code for win32 app in visual studio 2010. but this error appear: [CODE]cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast[/CODE] to these instructions [ICODE] if (!wglMakeCurrent(NULL,NULL)) // Are …

Member Avatar for creative_m
0
393
Member Avatar for ThomsonGB

I am getting an access violation. Can anyone see why this might occur in the following code fragment from a GUID generator? [CODE] // here is a code fragment fro a GUID creation routine. // it is crashing with an Access violation #include <iostream> #include <fstream> #include <string> #include <stdio.h> …

Member Avatar for rubberman
0
630
Member Avatar for CriticalError

Has anyone tried Visual Studio 11 Beta? I tried last time but it caused problems with Expression Blend so it was uninstall, Who has tried it, and is it jut like Visual Studio 2010?

Member Avatar for CriticalError
0
203
Member Avatar for cahitburak

Hi all. I am trying to build a Binary Linked Trie but fail in basic pointer operations.Following code can be built but in debug or run mode, it breaks and outputs the error. [ICODE]typedef struct node { char ch; node *next; }; struct node *root = NULL; void add(struct node …

Member Avatar for cahitburak
0
967
Member Avatar for angelineang

what is the problem actually in my code?when debug ,it will crash or come out same data. [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { int col; int rand_question[3]; int confirm_question[3]; int i; int score=0; char choice; int max_question, total_question; max_question = 3; total_question = 3; srand(time(NULL)); /for(col=0 ; …

Member Avatar for WaltP
0
148
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> #include<stdlib.h> …

0
148
Member Avatar for BeeKeeper18

I know how to search a text file for a specific line, but what I don't know is then how to delete that line? Can anyone help? My text file is set up as such: 021,Donovan,56 Eynesford Crescent,Bexley,SE5 1TR,09/08/1967,13 March 2012,Bronze 062,Fredrikson,6 Freil Road,Gravesend,GR9 TRB,12/06/1995,13 March 2012,Silver So I know …

Member Avatar for Reverend Jim
0
356
Member Avatar for sheenarbw

I wrote a recursive function using System.IO stuff in order to copy a directory and all its contents to another location. I'm using Windows 7 and Visual C# 2010. It looked like a simple task but it really isn't. First, when i tried to run the code i got a …

Member Avatar for danimal1
0
1K
Member Avatar for dimitros

I have a project in visual studio 2010 and i use c# and asp.I want to use a part of code that uses dll files.I don't know to import the dll to my project. I do know for example,how to use css and javascript: But i think for dll is …

Member Avatar for thines01
0
136
Member Avatar for toomutch

Hi all, What seems like a fairly straightforward process has got me stumped! How do I show a MapPoint map on a VB Net form? I have MapPoint 2011 (Europe) installed on my dev pc, and have added the references "Microsoft MapPoint 18.0 Object Library (Europe)" and "Microsoft MapPoint Utilities …

0
68

The End.