Answer Questions
Rickiev New WinMain?
Hi, I'm trying to test out a chapter of a directx book, and I get errors like I can't overload winmain. Why is this happening When I go back to my old vc++ 6.0, it compiles fine (there's a linking error, but that has to do with directx 9 not being supported). I mean, this shouldn't be that difficult, should it I've started a new, empty win32 application (not console). I create a new, blank file called winmain.cpp and I paste in the code. I ...Show All
MihirSolanki Printing from VB Express
I have come across several posts indicating that it is nearly impossible to print documents, much less interact with Word, when using Visual Basic Express. Is this true If so, will this functionality ever be included or will I have to either purchase Visual Studio or learn another language While not impossible to print in VB 2005 ( this includes the Express Edition too) it takes a bit of work to get the resul ...Show All
WalidDib I wanna use C in VS C++ Express, is it Possible?
Hi Members , i am new into programming. I wanna use C code in VS C++ Express, is that possible Please do help me. Newbie sylt wrote: Only if you want to code c89 - iso c99 is not supported. I don't think that is a very severe limitation. First, it is possible to turn off Microsoft extensions with option /Za (it is no longer called ANSI compatibility), or using the program-file Properties | Confi ...Show All
ASMS Problem with reading (*.doc, *.rtf and *.txt) Files
Hello, I have a problem with reading files the problem is : I`m using IO history to read *.txt files in textbox but it cannot read some languages like Arabic I`m using this code to read StreamReader files = new StreamReader (openFileDialog1.FileName); tmpbox.Text = files.ReadToEnd(); files.Close(); it reads all files correctly but not Arabic files ================================= Second part with RichTextBox: I ...Show All
wheelersctt can't install
i followed instructions i tried a lot doesn't go: it crashes, i've send report. can't do anything. ... can u do something or i drop :( How are you installing, from the Web installer, or the full ISO Image. I would give the full ISO Image a go and see what happens. Manual Install Packages for Visual Studio Express http://msdn.microsoft.com/vstudio/express/support/install/ Did NOT WORK.... 700++ H ...Show All
Tailor Newbie - File copying confusion
Hi I am severely struggling with even the basics of this part of my project. I have a destination path in a variable, selected via the FolderBrowserDialog function, and this works fine. I have a ArrayList of source paths, mixed folders and files. eg a file as C:\My Documents\TextFile.txt eg Folder as C:\My Documents\Folder1 I am trying to copy each item as follows: if it is a file, copy to destination folder, if it exists, ...Show All
Steve Thornton tabcontrol align with visual effect problem
i have encountered the tabcontrol align problem. with the visual effect set to true, the tab text stay horizontal no matter how i aligned the tab to left, right or bottom. how can i fix it i hv encounter the same problem when using VS.net 2003 with the manifest file attached to enable the visual effect. any advices/guides are welcomed. thanks im not familiar with rotate and translate transform. cgraus, can ...Show All
Dan Hedges Database is not updated from form input
1st of all, I'd like to apologise as I'm a complete novice ( only started in last week). My problem is getting the inputed data from my Form to update the database records. I've even downloaded and tried the lesson9 files and tried to make the changes as laid out in that lesson. ( Chuck to Charles). So i could check all the settings and line entries against my own to see where my mistake is. It reports that 1 change has ...Show All
ajay_ndelhi Exponents?
Hello, I would like to display exponent but how I tried to put something like g^3 but would show up as g^3 not g 3 any ideas Thank You Keehun Nam lb.text = "g^" & cstr(power) ' assuming power in a binary number on a label please! well, I want it on the title bar on the application itself Thank You! Keehun Nam ... and I'd like to second that... Jake ...Show All
Lx2 ASPNET_REGSQL - SQL Server Support Visual Web Developer 2005 Express Edition
I decided to offer this to help others that might runinto these issues releasing applications into a SQL environment using the Membership DB. Problem Scope: Ran ASPNET_REGSQL and created database on SQL Server ( Not locally ) . Configured an account with access to the various tables, views, etc. Relevant Web config portions: < add name = " ASPNETDB " connectionString = " server=sqlserver;database=ASPNETDB;uid=myAS ...Show All
Kyle_Da Man Getting data from a query into variables
I have a table that I want to query based on a Selected Record in a gridView. I have the Record Number (that is the actual key field name) in GridView.SelectedValue but I have no idea how to set up a query in here much less run it. I need to know OldLine and oldItem from a table called items I mean I know "Select OldItem, OldLine from Items where RecordNumber = " + GridValue.SelectedValue" Sure hoped that wor ...Show All
Chris B.8466 Find an element in a ComboBox with a list of objects
I have a class Class clMark as public id As Integer public name As String ............ ............ Public Overrides Function toString() As String toString = me.name End Function Public Overrides Function Equals(ByVal obj As Object) As Boolean If (obj.GetType Is Me.GetType) Then Equals = (Me.id = obj.id) Else Equals = False End If End Function end class ...Show All
Sam Jarawan GIFs as a pseudo-font
I have a specialized group of GIF images (Similar to some of those used on the 'print a banner' pages on the web). I am cooking up a project to do some printing with these guys. Soooo... Before I have to re-invent every wheel again, I thought I would ask here for some suggestions. I have already tested graphics positioning of images in the printpage event and have some confidence I can handle that, but pointers to examples or code samples ...Show All
Eric23 Compile to Native
I am using VCEE and am trying to create a dll using /clr, can this be done I get an error... StationFormat.obj : fatal error LNK1306: DLL entry point "public: class System::String ^ __clrcall StationFormat::stnFrmt::toStnFrmt(double,int)" ( toStnFrmt@stnFrmt@StationFormat@@$$FQAMP$AAVString@System@@NH@Z) cannot be managed; compile to native Can I compile to native //StationFormat.cpp ...Show All
Noam Subtraction of a decimal less then 1
I am not sure if anyone else had this problem, if so please help... While writing a simple function that holds the equation: bVariable = 1 - aVariable (where: 0 < aVariable < 1) Every so often a nasty little bug showed its head. I have used every number decleration (keeping both the same). My problem is that the code works, but the value calculated is wrong! When "aVariable" is equal to 0.94, the value ...Show All
