Software Development Network Logo
  • .NET Development
  • Game Technologies
  • Audio and Video
  • Visual Basic
  • IE Development
  • SharePoint Products
  • Microsoft ISV
  • SQL Server
  • VS Team System
  • Visual C#
  • Visual Studio
  • Windows Forms
  • Windows Vista
  • Smart Devicet
  • Visual FoxPro

Software Development Network >> hOmeR J's Q&A profile

hOmeR J

Member List

Angry Coder
corbin
Bear23
Zokkan
6stringer9
ved_30
barryt
brhoom
Michael Ruminer
dork
Steve Hempen
Seriema
IG Fats
tfeirtag
CCJJ
progames25
Minherz
nmahesh567
viliescu
Helen999888
Only Title

hOmeR J's Q&A profile

  • .NET Development pass argument to the Thread

    hello Everybody I want to pass argument to the Thread Currently i m having the code like this createthread() { this._WatchThread=new Thread(new ThreadStart(RunWatch)); this._WatchThread.Start(); } private void RunWatch() This works fine, but i m not able to pass the parameter I want to pass the this parameter i.e. the whole class. Thank you in advance Thank you for the reply But i don't know why it is not working properly Previously i was using .net 1.1 i did downloaded and installed the following but still it is not working it is showing the error that the namespace name ParameterizedThreadStart is not found Microsoft .NET Framework Version 2.0 Redistributable Package (x86) http://www.microsoft.com/downlo ...Show All

  • Smart Device Development How to free the memory occupied by this unmanaged dll?

    Hi,            I am using unmanaged dll ("coredll.dll") in my application. How to free the memory occupied by this unmanaged dll   Regards, Senthil.   On NETCF the only way to free native DLL you're P/Invoking into is to exit your application. In this case it does not matter though as coredll.dll is loaded regardless of your application. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. drawing order for multiple passes

    I'm porting a MDX project to XNA, and have found a problem. In MDX, when drawing using a multi-pass technique, the scene first is drawn using the first pass, then using the second pass and so on. In XNA, I have the impression that first, the first object is drawn using pass1, pass2, etc. When the first object has been drawn, the second object is drawn. Summarized: MDX: (foreach pass: draw all objects) XNA: (foreach object: draw using all passes) In more detail, the XNA case would be (foreach triangle : draw using all passes). The screens I get quite convince me of this, and if you want I can post some code and some screenshots of both cases. But first I would like to ask if there is some kind of way to instruct XNA to (foreach pas ...Show All

  • Visual Studio Express Editions MS-DOS??

    How can i create a program that can open up a MS-DOS program within a window Thanks. Process.start is definately the class to use to start a application. In you case a DOS application. For more info Process.Start http://msdn2.microsoft.com/en-us/library/0w4h05yb.aspx This method allows you to provide a command line argument by specifying a second parameter. Often useful as many DOS application allow the applications startup/configuration setting to be configured when calling the application. ...Show All

  • SQL Server Trying to connect to SharePoint database

    I am having trouble connecting to the SharePoint database on my web server. Our company intranet is accessed by http://webservername/ and the SharePoint site is accessed by http://webservername:2020/ (I wanted to put it on a different port to not interfere with our old intranet). Anyway, I need to connect to the DOCS table on the content database, but I can't seem to connect with SQL Server 2005. When I connect to webservername I see our company database but I don't see anything that has to do with our SharePoint stuff. I've tried connecting to webservername, webservername:2020 and webservername\SharePoint and webservername:2020\SharePoint with no results. If this isn't the right MSDN forum for this I apologize, but any advice would ...Show All

  • Visual C++ _CRT_SECURE_NO_DEPRECATE does not disable warnings

    Consider the following code segment. I have followed the advice of putting the #define CRT_SECURE_NO_DEPRECATE 1 before all #includes, but I'm still getting the warnings: 1>c:\!mtc\src\deprecate_test\deprecate_test.cpp(10) : warning C4996: 'strcpy' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy' 1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' Here's the code: #define _CRT_SECURE_NO_DEPRECATE 1 #include "stdafx.h" #include <string.h> int _tmain( int argc, _TCHAR* argv[]) { cha ...Show All

  • Visual C++ user defined data types

    Hi, which of this statement is efficient i++ or ++i; i tried hard to find the answer but i am getting many explanations i am not able to find the correct answer. .help me manish sharma i think einaros is right. cos if u look at dissembly of the code for pre and post then there is no extra cycle or temporary variable inserted. so they are same for basic types.. but i am not sure of the user defined types.. eg. 34: int u = 0; 0040F388 mov dword ptr [ebp-4],0 35: int aa = u++; 0040F38F mov eax,dword ptr [ebp-4] 0040F392 mov dword ptr [ebp-8],eax 0040F395 mov ecx,dword ptr [ebp-4] 0040F398 add ecx,1 0040F39B mov dword ptr [ebp-4],ecx 36: int bb = ++ ...Show All

  • Windows Forms Display messagebox without the default cross button

    Good Day, How do I display a message box without the close button at the top right corner Thanks. Regards Alu ...Show All

  • SQL Server Tell Us Your Express Story and Win $100!

    Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx Son of b**&*#! I installed Visual Studio SP1, uninstalled sql express, installed sql express with advanced services....and it works. ...Show All

  • Visual Studio Express Editions Draw a control into a UserControl

    I have a UserControl that has a Panel. When I try the draw something un the UserControl the draw is hide by the Panel. So I want to catch the draw(maybe the graphics) and pass it to the Panel Draw -> UserControl -| Panel(hide the draw) Draw -> UserControl -> Panel 10X leo@lumio.com If you want to draw on the control then you would use the controls paint event....if you want to draw on the panel you would use the panels paint event... If you draw something on the user control surface and then show another child control such as a panel it will coverup the drawing on the user control....once you hide the panel you would have to redraw the user control to get the original drawing to show HTH ...Show All

  • Visual Studio The first record displays multipe times

    Hello, I have a report that was working but now all of a sudden when i run it only shows the first thing returned to the dataset and displays it as many times as there is records if that makes sense. Like if I return 20 rows it will display the first one 20 times. I assume I accidently changed a setting without knowing it. Any ideas Thanks again smithsf22 wrote: Hello, I have a report that was working but now all of a sudden when i run it only shows the first thing returned to the dataset and displays it as many times as there is records if that makes sense. Like if I return 20 rows it will display the first one 20 times. I assume I accidently changed a setting without knowing it. ...Show All

  • Visual Basic Import, Export Access Database Files ???

    Hello! I am new to Windows Forms. I am using VB.NET as the language for an application I am writing. I have searched around trying to find some documentation on this and have not found a solution. ****************************************************************** The application that I am using, uses an Access database to track trainee data. Every now and then the database needs to be exported and sent to me. Also, users will need to have the ability to overwrite a previous database with a new one sent to them from me. I have looked into the OpenFileDialog and SaveFileDialog controls and cannot find a way to do this using these controls. If someone could please help me with selecting an .mdb file and saving it to a specified location on th ...Show All

  • Visual C# Static function cross thread sharing problem.

    This is my code to close a form. public static void Clear() { if (form1 != null) { form1.Close(); <----- cross thread error } } first i got a problem with cross thread sharing. then i created a safe method to close the form. private delegate void Delegate(); private void SafeCloseForm() { if (InvokeRequired) Invoke(new Delegate(SafeCloseForm)); else form1.Close(); } so now i got public static void Clear() { if (form1 != null) { SafeCloseForm(); } } But i have new problem with the static method An object reference is required for the nonstatic field, method, or property... What should i do ...Show All

  • Windows Search Technologies Desktop Search freezes Machine

    Simple really, I install WDS 3.0 OK but whilst indexing (or at random times thereafter) machine completely freezes. Uninstalling WDS cures the problem. I'm running XP SP2, Office 2003, Windows Defender and McAfee AV. Any Answers -- Marc Marc, Thanks this helps. The whole thing started when I downloaded Office 07 Beta and Notes 07 asked for WDS 3.0 in order to search. Peter ...Show All

  • .NET Development problem in starting windows service.

    I'm trying to write into a data base using windows application for that i made a class who uses an insert query to insert data in to a mdb file. i simple wrote a class and called its public function (SetDataBase()) to insert data in to the database. I called this function in OnStart() function of a windows service. and then complied it. it compiled successfully the service project was also install successfully but when i tried to start that service the following error occur --------------------------- Microsoft Management Console --------------------------- Could not start the MyNewService service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the prob ...Show All

©2008 Software Development Network