Member Avatar
... I have the code above and i get the error that ... may only be used in a switch statement, and with ... the same error. Am i missing some braces?
by Marius_3 in Game Development ()
Member Avatar
void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …
by Marius_3 in Game Development ()
Member Avatar
Hello, This is my first time posting on this site and I am a beginner VB programmer. I have been able to solve many of my previous questions through existing threads but have not found what I need to solve this problem. My problem is that I have a listbox …
by JLynn in Software Development ()
Member Avatar
Hey guys, I want to Know is there any way to get sum of numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (12+23+34+12....) (separate the values by adding "+").when the user click the command button, …
by shannishan in Software Development ()
Member Avatar
I am trying to connect my database to my application. this is very basic at the minute but here is my app: ... I have created a database which is hosted. I was wondering how i would connect it from cpanel/mysql workbench to visual studio
by aaron_10 in Software Development ()
Member Avatar
I am a beginner. I need to create a table in visual c# such that the number of rows would be created based on user input. The number of colums is 3. For example, if a user enters 3 as the input, a table of 3 rows would be created. …
by kudus94 in Software Development ()
Member Avatar
I need the code for fingerprint capturing using vb6 and also which control do i use in achieving it.
by Awulonu in Software Development ()
Member Avatar
Hi all, My DataGridview is populated and displays the data correctly. No Problem here. I use the Up/Down Key to navigate in the DataGridview and the rows get highlighted when I pass over them. No problem here. This is what I would like to code if posible: What I would …
by lmalave in Software Development ()
Member Avatar
I have a Text file with several different C:\ locations i need, the idea is to use the streamreader to read the text file, load each line into an array and then be able to use that specific array per line in the Sub routines to code. the idea, is …
by Hanko in Software Development ()
Member Avatar
Hello, I'm just new here. I wanted some people to help me with my project. We were tasked to do a game using Turbo C. I already found some games that has source codes like snake, tic toe, etc. I wanted to be slightly different 'cause I know my classmates …
by Louie_Rave in Software Development ()
Member Avatar
hello, how to setup eclipse IDE to use visual c/c++ compiller. i have visual studio express on my computer i guess this include c++ compiller what probably do compile c. so i would like to know how can i use the the visual c/c++ compiller in eclipse IDE thanks you …
by chrisschristou in Programming ()
Member Avatar
Hello everyone, I've looked in several forums but can't find an answer. In excel I want to place a picture in a cell, that's no problem. Then, I want to display that picture in the header with VBA code. I know vba can link to a directory to display a …
by Sneaky Pete in Software Development ()
Member Avatar
I am trying to delete selected record from my database which uses MySQL and Visual Basic 6 but its not working even no error I am getting in it. Here is my code for connection and also for button click ... button click code ...
by hallianonline in Software Development ()
Member Avatar
Hii all this is my lab program (vb program to validate the user name and password from the database and display the appropriate message) use Data control i getting Run- time error '-2147467259 (80004005)' Could not find file 'C:\Program Files (x86)Microsoft Visual Studio\VB98\Account.mdb My code is Dim rs As New …
by Tarun_4 in Software Development ()
Member Avatar
Hello reader! I've been working in a laptop with 6GB RAM, i5, 500GB HD and I can't take it anymore! What I mostly use : Office Package (word, excel, powerpoint) Visual Studio Eclipse SQL Server / Analisys Services / Management Studio Adobe Package: PhotoShop and Illustrator (some flash) VMWare/VirtualBox (customers …
by AleMonteiro 238 in Hardware ()
Member Avatar
I'm looking more and more about answer for my question. When I open mysql query browser first time, there is place that we can create new mysql connection. I want to create connection like this. In the 4 computers connected to a LAN network. I name these computers A,B,C,D for …
by sashiksu in Software Development ()
Member Avatar
Question TWO I have on and off been using Basic, now VB since âthe stone ageâ long before Microsoft and Windows. However it is only now I enter the issue of using VB6 and a database. I use VB6-ADO-ACCESS plus using DataGrid as the main view to see the database. …
by peroberg in Software Development ()
Member Avatar
hi i have report in visaul basic 2015 in it the salary and i want to make a tetxbox and but the total in it i tried this Sum(Fields!salary.Value) but i get error
by hhaannyy in Databases ()
Member Avatar
I have a question,,Its all about homework Question score/item*50+50= Average,,How do I make the program of this situtation,
by asnawi in Programming ()
Member Avatar
I have created an Macro-enabled Excel file using Excel 2013, and I wanna integrate it with Visual Studio 2015. I've created forms in VS 2015, and in that form, I have created several numeric textboxes. So my question is, how can I export all those values in the textboxes, to …
by jackchongwk in Software Development ()
Member Avatar
I have a form with only 1 object on it , a progress bar. when the form loads it runs the progress bar, which is working fine. when the progress bar hits the max vaule i want the form to close but no matter where i put the me.close the …
by Mike Bishop -3 in Software Development ()
Member Avatar
Good Day Everyone please I am writing a Check In and Check Out program to display the date increase in day/month/year whenever I input a number. Eg. suppose I type 2days on the Check In Form I want the Check Out Form to display the days difference from the current …
by Nawti in Software Development ()
Member Avatar
how to create java application in visual studio
by Rohit_24 in Software Development ()
Member Avatar
I want to have a random picture to be displayed in a picturebox from a list of jpeg files in my debug folder in visual basics. At the moment i've been using this code to display a specific image but I want the image to be random... If Label1.Text = …
by Khw09 in Software Development ()
Member Avatar
I'm wondering how to save image to MYSQL-DB via vb.net application. At the last I find some way to save image. But 'some type of images' doesn't save in that way. By 'some type of images' I mean diffrent widths,heights and resolutions. For example I use this code to save …
by sashiksu in Software Development ()
Member Avatar
Hello everyone pleas help me with this I need a formula that can convert my data into barcode with crystal report in visual studio 2013 and Connectcode trial version I'm new with this so any help will be great
by chaino in Web Development ()
Member Avatar
<option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> ...
by Novo canal na in Software Development ()
Member Avatar
Hi I am trying to create a service in c#, if i click start in service it has to execute the run.bat file. if i click stop in service it has to execute the stop.bat file can any one please help me to fix the code. ...
by rpv_sen 59 in Software Development ()
Member Avatar
I am creating one application visual basic and sqlce I have two forms name Form1 and Form2. I used Form1 to add data to database using OLeDb command and used Form2 to show data in datagridview by using dataset I used following code: FFORM1 CODE is as following Private Sub …
by jazzyb in Software Development ()
Member Avatar
Hi... does someone know how to CONVERT NUMBERS INTO WORDS IN VISUAL BASIC 2008 until millions by using recursion??? if yes... can you please share to me the code??? thanks a lot!!!
by san_gwapo19 in Software Development ()