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

Software Development Network >> andyedw's Q&A profile

andyedw

Member List

Sten G
sammy chen
EricRB
CCam
nikki01
Subtle
scottlaw1
Rama Boya
Mamush
Teachable
divya mittal
Pavan Battula
Heinz_Richards
tork1
Mark Asztalos
Jason Sacks - MSFT
dddon
Tej62007
Antarctica
Thomas Ardal
Only Title

andyedw's Q&A profile

  • Visual C++ Where can i find all the description for all the system lib such as Winmm.lib ,Wsock32.lib

    Where can i find all the description for all the system lib such as Winmm.lib Wsock32.lib Vfw32.lib Wininet.lib MSIMG32.lib I mean from the description, i can know how to use the lib Thanks Look up the description of the API function you want to use in the library. At the bottom of the page, it shows which library you need to link. Here's an example ... ...Show All

  • SQL Server can I install sql server 2000 and sql server 2005 in one pc?

    Can I install sql server 2000 and sql server 2005 in one pc Can I get some document about how to do this Hello, Yes, you can do this. The only (obvious) priviso is that they cannot both run with the same instance name. SQL Books Online has a wealth of info relating to this (however it's basically a process of first installing 2000 then 2005...) Cheers Rob ...Show All

  • Visual C++ CEdit number or text

    how can i determinet if the text in cedit is a numbre or currency or a text in c++ mfc or if i need to insert only currency in the cedit box how can i manage it i tryed to use only number style but if i use it i cant insert number like 8.99 how can i do thanks Please see this article http://www.codeproject.com/editctrl/ncpedit.asp ...Show All

  • Windows Forms how can i run a windows form control without a web server

    If I have a webbrowser control hosted in an MFC application, how can I load a web page that embeds a windows form control and run the control without IIS or any other web server Dear Customer, I am somewhat confused about your scenario. Is your scenario as below. MFC-->WebBrowser--->WebPage--->Winform control "A--->B" means A will host B. So, the WebBrowser is an unmanaged WebBrowser control If so, I think you may first try to load the Webpage with Winform control in IE to see if that works, if yes, I can the same job will do for WebBrowser. Also For a webpage,e.g. test.html, we can load it from harddriver directly. just as you double click on a html webpage and the ...Show All

  • Visual C++ Binary to decimal function in C

    Hi, I am trying to write a function in C that will take a binary number from the user and convert it to its decimal equivalent. I was wondering if there is a way to write this function without converting the input from the user to a string and manipulating it. Is there a way to write this function only using integers. Also is there is a way we can cast a char to an int in C Thanks for the help. Sunny Okay here is the function, it works, let me know if you see any problems with this method. Thanks, Sunny long int BinToDec( long int binNumber){ long int decNumber = 0; char binaryNumber[255]; int i; int numberSize = sprintf(binaryNumber, "%d" ,binNumber); ...Show All

  • SQL Server initialize pull transaction from backup

    I'm trying to initialize a subscriber from a backup for a pull subscription. The publisher was started before the full backup was made. I followed the instructions @ Books Online topic "Initializing a Transactional Subscription Without a Snapshot" http://msdn2.microsoft.com/en-us/library/ms151705.aspx and How to: Initialize a Transactional Subscriber from a Backup (Replication Transact-SQL Programming) http://msdn2.microsoft.com/it-it/library/ms147834.aspx . I initialized the subscriber by restoring the db before I run the create subscriber scripts. All agents run successfully except for the following: The network setup is that the publisher and the subscriber are in 2 different domains with the distribution database at the pu ...Show All

  • Windows Forms Problem with dataset Designer

    I am using a strongly typed dataset with .NET 2.0, my problem is that customized queries in tableadapters are not reachable, and do not appear in the dataset.designer.vb the following error appears: "Cannot find custom tool 'MSDataSetGenerator' on this system." I hope that you have a solution for this ...Show All

  • Visual Basic To Microsoft staff about vbNull.

      Hi, Why is vbNull not Chr(0) instead of "1"  or = System.DBNull.Value See>> Dim s As String = Chr(0) MsgBox( " String 's' is = " & s) or>> Can yourselves not make it the default value for a string instead in future versions of Visual Studio please Dim s As String = System.DBNull.Value.ToString MsgBox( " String 's' is = " & s)  I presume Chr(0) = System.DBNull.Value.ToString   See also http://asciitable.com/ about Chr(0)   Regards, S_DS   You are mixing stuff up here! DBNull.Value is something completely different. That is NULL in the database (means NULL of a member of a relation). If you want to set a string to  ...Show All

  • .NET Development Trouble catching exception

    Hi, I am having this problem catching a exception in a try catch block as shown below try { DialogResult result; result = wizard.ShowDialog(); } catch (PackageCreationException e) { MessageBox.Show(e.Message, "Failed", MessageBoxButtons.OK, MessageBoxIcon.Warning); } now the wizard is a form which throws a PackageCreationException if it fails this works fine if it is run in the Visual Studio environment but when run as a standalone application this exception is not caught. I have been cracking my head over this. I can catch and handle exceptions fine every where else but here. Does anyone know why this happens ...Show All

  • Visual C++ Unable to load .Net DLL

    Hi All, I am having an unmanaged C++ executable which loads a managed C++ dll using LoadLibrary. The managed C++ dll has a dependency on another managed dll created with C#. Both the managed dlls reside in the same directory. However the unmanaged exe resides in a different directory. The application was working fine and was able to load the managed dlls. But after I cleaned the solutions and rebuilt the binaries, I am getting a FileNotFound exception when the managed C++ tries to create an instance of a type in C# dll. There is no code change either in the managed or the unmanaged parts. Can anyone tell me what could be the reason I tried looking into the Fusion log and noticed that its trying to resolve the C# dll in the directory from ...Show All

  • Windows Forms MouseMove Event -> MousePosition

    I have created a method to resize my form without a border, (my application has custom graphics). Here is the code: private void Size_MouseMoveEvent(object sender, MouseEventArgs e) { if (isMouseDowna) { Point mousePos = Control.MousePosition; mousePos.Offset(mouseOffset.X, mouseOffset.Y); this.Width = + mousePos.X; this.Height = + mousePos.Y; } } I can resize the form perfectly, but the problem is that I need the mouse cursor to stay over the button when the form is sizing. The Size_MouseMoveEvent is the MouseMove event of a button I made with a size grip image on it. Again, the form resizes accordingly, but I need to mouse cursor to stay over the button during this process. I have ...Show All

  • Visual Studio Team System deploy/schema compare scripts - Option for checking IF EXISTS

    My scripts need to check for existence of tables, columns, etc. before creating or altering. My procs and functions need to check existence and drop if they do already exist then create. Is there any way to control script preferences to accomplish this I'm not sure I've been clear. I don't need the .SQL files in my Schema folders to have IF EXISTS. I don't want to use the Scipts folder to hold all the objects in my database. I want to have Schema View and all that; I want all the bells and whistles. What I do need is for the scripts generated by "Build" (and "Schema Compare") to have IF EXISTS for table/column/etc and IF EXISTS/DROP-CREATE for procs/funcs. Here's th ...Show All

  • Windows Forms Horrible databinding performance

    Hi, I have a form with 40 databound controls. The controls (mostly TextBoxes etc.) are connected to data model that implements INotifyPropertyChanged. The problem we face is that each control is pushed data when a single data model property changes. This is a significant problem during initialization when all the properties are set, causing 40 x 40 =1600 getter calls, but it's a problem in normal property usage, too, if some properties must be fetched from database instead of private member. I have tried to counter this problem by using some block operations that internally do not use properties, but private members etc. This doesn't really work anymore because I need to use robust and simple interface from now on without these optim ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xna 3d collision detection

    hello, i'm trying to detect the collision of two 3d models, i'm using the boundingbox method, i have used the boundingbox like this: Vector3 minv1 = new Vector3 (x1, y1, 0); Vector3 minv2 = new Vector3 (x2, y2, 0); Vector3 maxv1 = new Vector3 (x1+50, y1+50, 0); Vector3 maxv2 = new Vector3 (x2+50, y2+50, 0); bb1.Min = minv1; bb2.Min = minv2; bb1.Max = maxv1; bb2.Max = maxv2; if (bb1.Intersects(bb2)) { // change direction of moving objects } but the problem is that i don't know the real mesh size, i have made it in 3dmax and there it is x=101,6 cm, y=101,6 cm, z=12,7 cm, i have converted them to pixels and the results were x=6000px, y=6000px, z=750px. when i have put the sizes tra ...Show All

  • Visual Studio Team System Source control and non VS files

    Apart from some VS projects, we also have sets of XML (text) files that I want to put under source control. We create and edit these file sets in an IDE that is not Visual Studio. How can I put these under source control in Team Foundation Server If you haven't checked in the pending adds yet, just undo the adds of the files/folders you don't want. If you have, then you'll have to use Delete. To avoid deleting the files locally, create a separate workspace first. (you shouldn't need to download anything -- Delete will work so long as the files are mapped) ...Show All

©2008 Software Development Network