Answer Questions
Mehmet Ali Ekingen Starter Kit Trouble
Hey I downloaded the MediaShare Starter Kit and it said it was already ready to build and run. When I try to build it I get a error for both the projects in the solution. This is what I get: ------ Build started: Project: CommunicationFramework, Configuration: Release Win32 ------ Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at "file://c:\Documents and Settings\Dagaen\Desktop\Messenger\Source ...Show All
bdee1 auto brace formatting in visual c++ 2005 express edition...
Hi, I was wondering how to set up visual c++ express edition so that if I do this int foo(param1, param2, param3, param4 param5, param6, param7){ doesnt indent to here-----> but instead indents to here--> any ideas In addition to experimenting with the options you can use Shift+Tab to quickly back up indentation levels from the previous line's block indentation. I no ...Show All
beatriz_da code prob
ok i've got this code Dim sText As String = InputBox("Enter some text") If String.Empty.Equals(sText) then return If sText.length <= 0 Then Return Dim oTW As IO.TextWriter Try oTW = New IO.StreamWriter("c:\text.txt") oTW.WriteLine(s) Catch ex As Exception MessageBox.Show(ex.Message) Finally If oTW isnot Nothing then oTW.Flush() oTW.Close() End If ...Show All
Mario Aoun Old VC++ 6.0 projects and their dialogs.
Hey, I have installed the Express edition of VC++. I have a couple of old VC++6.0 projects I woudl like to convert such that I can maintain them using this new version of VC++. When converting it seems I do not have access to the old dialog forms. I.e. the graphical setup of my resources in the different dialogs. Do I have to buy the full version to get access to this I wonder I can ofcause the the resoucefile in text format. but editing it grap ...Show All
David Winningham Timed Repeat for my Application
G'day, I have written an application which is working well. Up until now, I have executed it using the Task Scheduler within windows but circumstances have dictated that a different solution be required. What I want is really quite simple (I hope!) I would like the application to execute on startup (it runs silently in the background with no user input or visualization at all) which I can cover by adding an HKLM registry key as part of the ...Show All
DaveIII How do you reload a form
Hi all, I know this is proberbly a really basic question but how do you reload a form, I'm need to put some code in a catch - end try block that will reload the form or allow the user to re enter a value in textbox2. Thanks for your help but could you explain exactly what I need to do. I'm a bit of a newbie with V.B . First can I just confirm this is the event handler : Private Sub TextBox ...Show All
Winnie.Wang SelectedIndexChanged fires through manual and code changes to combobox
I am using the SelectedIndexChanged event on a combo box to set an associated value, unfortuantelly when I use code to set the selected index of the combox and this is also firing the SelectedIndexChanged event. Is there an easy way for me to check that the combobox value has been changed by the user as opposed to changed via code Sorted this one aswell, why do I always find the answer 5 minut ...Show All
jjbutler88 Where is the redistributable C runtime?
Keywords: MSVCR80.dll, Microsoft.VC80.CRT According to the documentation, the redistributable components of the runtime are supposed to exist in the VC/redist/x86/ directory. See the "Deploy using xcopy" MSDN article. This directory doesn't exist in the VC++ 2005 express install. Further, the redist.txt file mentions a vcredist_x86.exe which does not exist. Where are the redistributable components I am compiling a DLL for ...Show All
Alwin Shell Execute
I have tried the ShellExecute API function in VB 2005 Express, but it don't seems to work. The error-message says PInvokeStackImbalance. Have anyone else tried the ShellExecute function and succeded Niklas Hi, Here is a good like with samples on ShellExecute. http://pinvoke.net/default.aspx/shell32/ShellExecute.html Have you checked the Process.Start() managed code option Regards, Vikram Hi Vikram! ...Show All
Amaury36371 Threading Error?
I'm learning C# and was trying my hand at developing phone book app using a friends computer that has Visual Studio 2003. I have a label that displays the current time on my form that would show a "running" time display. When I tried the same code using C# Express, I get the following error: Cross-thread operation not valid: Control 'labelCurrentTime' accessed from a thread other than the thread it was created on ...Show All
seercase Debuggin Assertion Error
Here I include the error Assert message at the bottom of file and the Call Stack message that I recieve with the debugger, please any assistance will be greatly appreciated. Thank you in advance for your help. E.C. Call Stack CObArray::ElementAt(int 1) line 196 + 46 bytes CObArray::operator[](int 1) line 210 + 19 bytes CSerializeDoc::DeleteContents() line 228 + 15 bytes CDocument::OnNewDocument() line 682 CSerializeDoc::OnNewDocument() ...Show All
surajguru Extremely Illogical Error
Hi Guys and Gals, I'm having a really wierd error with my application, perhaps someone can help The problem is that we cannot replicate the error on another machine, it seems specific to my machine which makes it all a little more confusing. I'm running a P4 3.0Ghz Prescott processor with Hyper-threading and 768MB RAM. The application was coded using VB 2005 Express Edition Beta 2 but has since been re-coded on the final release of VB 2005 Expr ...Show All
JohnnyOre drawing lines in windows forms application.
I use Visual VC++ Express Edition.it seems that it doesn`t have MFC.so i used windows form application instead.i was going to create a form,put some bottoms on it and by clicking on the bottoms some lines and rectangle (that are used in drawing flowcharts) appear in the form in different positions.i create a class (with class wizard)and wrote codes for drawing this lines...i used these functions: CClienttDC dc(this); ...Show All
Farquest Create a new database programatically?
Is it possible to create a new SQL Express database progamatically from VB Express It is easy enough from the IDE, but I want to determine the schema dynamically based on user input. I have not found this discussed in Help or other articles. Can anyone point me in the right direction Thanks, --Mable Hi, First, connecto to the master database using a SqlConnection objejct. Then Execute the T-Sql with SqlCommand ...Show All
DrNecessiter Problem porting a Visual C++ 6 application to Visual C++ 2005
I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility I've tryed using Step Into, but it stops from going ahead and don't capture API events, so the project stills stopped. If somebody can, download th ...Show All
