4,928 Topics

Member Avatar for
Member Avatar for Quân

I'm coding in visual studio. i have a problem in ConfigureSerialPort function. #include <windows.h> #include <stdio.h> #include <string.h> HANDLE hPort; BOOL WriteByte(BYTE bybyte) { DWORD iBytesWritten=0; DWORD iBytesToRead = 1; if(WriteFile(hPort,(LPCVOID) &bybyte,iBytesToRead,&iBytesWritten,NULL)==0) return FALSE; else return TRUE; } BOOL WriteString(const void *instring, int length) { int index; BYTE *inbyte = …

Member Avatar for Ancient Dragon
0
523
Member Avatar for lrhimma

hi everyone im doing small vbproject that must auto generate id using the current date format in vb.net-(VISUAL STUDIO 2012) with Ms access database. When the button1 click the autonumber should be displayed in text. And when it save, it should be saved in the database access. The id number …

Member Avatar for lrhimma
0
2K
Member Avatar for castajiz_2

Is there any option which i can activate when using ECLIPSE so that when i m typing S... for String or i.. for int etc... to automaticly give me suggestions that i want a int if the first letter is i or i want a String if the first letter …

Member Avatar for JamesCherrill
0
183
Member Avatar for Deep Modi

I like to know how to add the no at the each new line before starting. I know how to count total lines. but I am lacking some knowledge on how I can Add new line number before New line and also the selected line get background colour different then …

Member Avatar for Deep Modi
0
687
Member Avatar for kerryP

Hi, I am new to VB.NET and I manage to create an add-on to help my disable girl look up things. The small issue i am having is getting the add-on to run automatically without me or her clicking on the button. I was wondering how can I make the …

0
165
Member Avatar for dhruv_arora

I recently installed Microsoft Visual Studio 2010 on my computer. I wrote a C++ program and I can't find any Build/Compile/Run options in Visual Studio 2010. Please, any one can tell me how can I compile C++ programs in MS Visual Studio 2010.

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

Hi I just recently started learning about using the windows form application for C++. I am using Visual Studio 2010 and I have came across this problem. For instance, I am trying to read and write to a text file. Many guides suggest using StreamWriter^ and using namespace System::IO; to …

Member Avatar for clasp1
0
653
Member Avatar for Lee_2

Hi basically I have been trying to set up the irrlicht engine with Visual Studio 2010 and after adding in the inlcude and library file paths it seems as though Visual Studio no longer recognises "stdafx.h" as a valid precompiler?? I know this has something to do with not being …

Member Avatar for Lee_2
0
272
Member Avatar for Lethugs

Hi, Im having a hard time figuring this maybe a simple query. This is my first time to use sql compact edition. How can I query a select statement inside a select statement which tables are not related at all. What i need to accomplish is to insert a logo …

Member Avatar for ugi.nagesh
0
584
Member Avatar for kkjaykamau

I am new to using datagridviews and wanted to know how to populate certain fields. I have created a form and added a datagridview (named GridSellProducts) with Visual Studio designer and added 8 columns with the first named Item. I have also changed the column type for Item to DataGridViewComboBoxColumn …

Member Avatar for Kratoswoo
0
181
Member Avatar for tsomondos

I wrote a few applications using Visual Studio 2010 and i was saving them in different folders but all of them are saved on my desktop and now i want to combine them and i'm failing..please can you help me or give me instructions on how to do it. Thank …

Member Avatar for Netcode
0
272
Member Avatar for DanielTradeWs

Hi every boddy Big problem here. I don't know if from access or vb.net I program in Visual Basic inside Visual Studio 2010 I have Access 2002 dbase with the first field caled ID_no : autonumber and primarykey and it is a "LONG INTEGER" I can not change because it …

Member Avatar for DanielTradeWs
0
613
Member Avatar for Saboor880

Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working …

Member Avatar for Saboor880
0
543
Member Avatar for prettyknitty

I have been working on this code (school assignment) for a few days now. It seems to be almost finished, but I am not sure what's going on. When I run it in an online complier, it displays correctly, which is supposed to look something like this "12345" "1234500000" However, …

Member Avatar for Ancient Dragon
0
913
Member Avatar for IT_Techno

hi I have create VS project using C#, I am using Crystal Report when i run project using VS 2010 The Crystal report work very well, but when i create setup from project and run the project after download setup the crystal report does not open, - Although i am …

0
127
Member Avatar for Saboor880
Member Avatar for Deep Modi

I create the application and set the untick/unchecked on "Make single instance application" as if i do then I can not open the multple window... Now the another thing is what the main thing that is used in the Publishing the application? if I used only Bin Folder then is …

Member Avatar for Deep Modi
0
147
Member Avatar for Mr.M

Hi DW I've created a website in Visual Studio under the VB.NET and I tried to publish the website to my wamp server on my computer but when I try to access my website via webbrowser it shows something like index of/ then list all my web files it does …

Member Avatar for pritaeas
0
4K
Member Avatar for supernova122

I am using VB.net 2008 and .net 2.0 framework. After I modified a class library in development environment, I build a particular class library in visual studio 2008 and dll file get generated in the bin directory. I copied this dll file to the bin directory in production environment. But …

Member Avatar for tinstaafl
0
381
Member Avatar for grafic.web

Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to …

Member Avatar for grafic.web
0
576
Member Avatar for priyamtheone

MSDN recommends disposing any variable of type System.Drawing.Brush before its last reference is released. Otherwise, the resources it is using will not be freed until the garbage collector calls the Brush object's Finalize method. As we know, local variables are destroyed automatically when the control flow goes out of the …

Member Avatar for Momerath
0
214
Member Avatar for Saboor880

I have been using Visual basic 6.0 for one year. 1-I want to know that what is difference between visual studio and vb 6.0? 2- What is difference between vb 6.0 and vb.net? 3- Now i want to use vb.net. So tell me how can i install vb.net? and from …

Member Avatar for Deep Modi
0
397
Member Avatar for vampersie

Hello, i am a newbie. Now i got a problem about Extracting some specific strings from a txt file. Here is the txt file like: 121348319B'\t'Herman Gerrand'\t'ED001' 'C'\t'ED002' 'A ED003' 'B'\t'ED004' 'C 124311431B'\t'Shakes Hand'\t'ED021' 'F'\t'ED003' 'C ED007' 'A'\t'ED011' 'B 124134131B ....go on The sequence logic is: student ID'\t'student name'\t'subject code' …

Member Avatar for tinstaafl
0
203
Member Avatar for saintrenz

I have query that updates the database but the problem was the datagrid is not updating.. i have to restart the program in order for the datagridview to take effect Imports System.Data.OleDb Public Class frmUsers Dim cnn3 = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb;") Dim sql2 As String Dim ds1 As …

Member Avatar for chuchaykaw18
0
151
Member Avatar for fheppell

I have some c# code using the tweetsharp library and when I run it with mono it gives this error: Missing method .ctor in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll, type System.Runtime.CompilerServices.ExtensionAttribute Can't find custom attr constructor image: /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll mtoken: 0x0a000019 Missing method ToList in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/ConsoleApplication1.exe, type System.Linq.Enumerable Unhandled Exception: System.IO.FileNotFoundException: Could not …

Member Avatar for deceptikon
0
312
Member Avatar for bluehangook629

Hello, I have created a report using SAP Crystal Report on Visual Studio 2010. As datasource, a interal dataset is used to populate the report which is included in my project. Everything seems to work fine until during runtime when I load the report onto the report viewer, it keep …

Member Avatar for bluehangook629
0
747
Member Avatar for DavidB

Yesterday (October 25) I spent a few hours working on a Word document. When printed out, it is six pages long. This morning (October 26) when I opened up the document to resume work on it, all my latest work was gone. The document property indicates it was last modified …

Member Avatar for Brown427
0
676
Member Avatar for priyamtheone

I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the …

0
250
Member Avatar for tanatos.daniel

I want my XML file to look like this: <?xml version="1.0"?> <Student> <Name>Jax</Name> <Prenume>Teller</Prenume> </Student> I wrote the following code in C#: using System; using System.Xml; namespace ReadingXML2 { class Class1 { static void Main(string[] args) { XmlTextWriter textWriter = new XmlTextWriter(@"c:\users\danuts\documents\visual studio 2010\Projects\BD - XML\BD - XML\XMLFile1.xml", null); textWriter.WriteStartDocument(); …

Member Avatar for tanatos.daniel
0
393
Member Avatar for mkash

can any1 help me with my code because i cant delete and copy a folder but i can copy and delete other file extensions in my code. it would be a great help if you can help me with this cause im new in c++...thank you and godbless. code for …

Member Avatar for tinstaafl
0
275
Member Avatar for deceptikon

Hopefully I shouldn't need to explain what `gets` is or why it's easily one of the worst possible standard functions you could call in your code. In my personal opinion, the title for "holy shit, never use this function" is a tie between `gets` and `system`. I'll discuss the problem …

Member Avatar for rubberman
1
268
Member Avatar for laura301019

Hi I am beginning by final year project which is an appointment system. I had planned to use Visual Studio and SQL Server for this but at the end of the year I have to submit my system to the uni on a disc, I was just wanting to know …

Member Avatar for dany12
0
170
Member Avatar for whatthebobo

I have an assigment where I am to create a program to calculate BMI. I wrote the program and would like to have someone check it to see if there are any mistakes I need to correct. //Declare variables double weight, height, bmi = 0; //Prompt user for weight in …

0
114
Member Avatar for DM Galaxy

As I watch one of the videoon net on screen recorder. I watch that by adding reference > com > hycam2 is visible. (this is the important else I can't create my app) So I browse the hypercam2 Directory. And try to add the file: hycam2.tlb But pop up msg …

Member Avatar for DM Galaxy
0
371
Member Avatar for alina.nazchowdhury

I get lots of error in my program like: Warning 1 WithEvents variable 'Close' conflicts with sub 'Close' in the base class 'Form' and should be declared 'Shadows'. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.Designer.vb 321 23 WindowsApplication1 Error 2 Expression is not a method. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.vb …

0
114
Member Avatar for Xakzi

Hello! Sorry for the bad article title, was not sure what to name it since I couldn't figure out anything good to name it, that would be near my request. Let me begin.. I code with Visual Studio 2010 with C# Windows Form Application. I code everything in combobox1 and …

Member Avatar for Xakzi
0
118
Member Avatar for Xakzi

Hello! I come here with a tricky question and I do not know how to code it at all. First off, I am coding in Visual Studio 2010 C# Windows Forms Application I need someone to help me code the following example: I have a text file which includes only …

Member Avatar for Xakzi
0
231
Member Avatar for KushMishra

Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her …

Member Avatar for KushMishra
1
193
Member Avatar for iamcreasy

I want my program to throw exception on console window. But when exception occures Microsoft Visual C++ Runtime library dialog box shows up. What can I do to stop visual studio from stopping execution of my program when an exception occues and let my program handle the exception? I am …

Member Avatar for deceptikon
0
438
Member Avatar for G_S

Hello. I am currently studying database design at my local university. They use Microsoft products there (Microsoft SQL Server 2008/2012), but we can't use them at home because of the licensing. I have two questions: 1 - Is there anything in the world of Open Source that I can use …

Member Avatar for Reverend Jim
0
226
Member Avatar for saintrenz

Please Help: I am making an internet Cafe system that will login his/her account If user still have time left on his account(database) then login success and countsdown hours and minutes to zero if user logsout it will update the database "timeleft" of the current user If 5 minutes remaining …

Member Avatar for Hazuan Nazri
0
1K
Member Avatar for dineshA

I am unable to insert data into database, plz help me out. This is my code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace labsoft { public partial class test_group : Form { Form opener; public test_group(Form parentForm) { InitializeComponent(); opener …

Member Avatar for dineshA
0
371
Member Avatar for saintrenz

Can't Update my User Table "Hours" "Minutes" "Seconds" from the current value of the timer where it has stopped I used button to stop the time Imports System.Data.OleDb Public Class frmMain Public hh As Integer Public mm As Integer Public ss As Integer Public totalsec As Integer Public timercount As …

Member Avatar for gowans07
0
344
Member Avatar for Ahmed.C

## Hey Guys ## , I've recently stopped doing some of the projects which I wanted to do and took a look at SQL and came across Microsoft SQL and i was pretty pleased with wha tit can do so i downloaded the program and watched some basic MSSQL tutorials …

Member Avatar for JorgeM
0
330
Member Avatar for riudo

good day.. i have a slight problem in my enrolment sytem. im new in vb programming, and this problem perfectly work in stressing out and pressuring me as begginer. i have a listbox that contains all filtered data from my database. and i want it (all entry in the filtered …

Member Avatar for riudo
0
1K
Member Avatar for saintrenz

I am making a login system that records time in and time out for students.. but the student can't sign in if already "Signed In" and student can't sign Out if already "signed out" that is why i have three form. **THE CONCEPT OF THE PROGRAM: When i log in …

Member Avatar for elie.karkafy
0
244
Member Avatar for Nitin Daphale

Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link …

Member Avatar for santhosh_iyer
0
562
Member Avatar for H_beginner

I am new to classes and was trying to create an elmentary program to understand classes and objects. I ve created three files 1) header file for class declaration 2) class definition .cpp file 3) class implementation main .cpp file I cannot understand the error I am getting. Please help. …

Member Avatar for tinstaafl
0
228
Member Avatar for saintrenz

THIS CODE IS WORKING,, BUT WHEN THE SECOND TIME LOGGING IN IT DOUBLE CHECKED LIKE 2 FORMS OPEN and 4 MESSAGE BOX APPEAR Private Sub btnSign_Click(sender As Object, e As EventArgs) Handles btnSign.Click Dim connectionString As String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb" sql = "Select ID, LASTNAME, FIRSTNAME, LOGINSTATUS …

Member Avatar for saintrenz
0
198
Member Avatar for iwanna4get

I am currently trying to make a simple file uploader using http://msdn.microsoft.com/en-us/library/w3kksch7.aspx and its pretty straight forward except I keep getting the error Access To the path 'E:\Temporary' is denied I tried running visual studio 2012 as admin I already change the directory (It was at C: earlier) Help and …

Member Avatar for iwanna4get
0
231

The End.