C. Lange's Q&A profile
Visual C# !!! IF MICROSOFT HEAR US!!!
I just saw another thread with "Can i make a app that doesnt use the .NET. The framework is too big 23 MB".. SO... Can Microsoft create a .Net Framework just for c# not for asp or j# or visual basic providing only the neccesary dlls Please!!!! Eh, the framework is for .NET; there are in my opinion no specific dll's for j#, vb.net, etc... The CLR uses IL, and C#, VB.NET, J#, and all other .NET languages are compiled to Intermediate Language. ...Show All
Visual Studio Team System How do you run a webtest programatically from an add-in or VSIP package?
Can anyone provide C# code that demonstrates how to run a webtest programatically Assume I have a project item which is named webtest1.webtest. Thnx in advance. There's no api for doing this, you'll have to run the test via the command line, mstest.exe using the Process class. Ed. ...Show All
.NET Development Data type mismatch in criteria expression
Hi there, I am trying to edit and update a chosen database record, the edit part is working properly but the update isn’t. I get the following error: “OleDbException (0x80040e07): Data type mismatch in criteria expression. System.Data.OleDb.OleDbCommand.ExecuteReader (CommandBehavior behavior). All fields In my database are type Text. Should my update statement include everything in the database even if I am not read everything Help will be appreciated. Regards. Public intID As String Public strFirst, strName, strTeam, strFloor, strTel As String Private Sub Pa ...Show All
SQL Server Error reading variable
I keep receiving errors while using variables to pass values to different part of my package. For example ... Error: 2006-05-04 10:31:59.84 Code: 0xC00470EA Source: EdwPostProcess Description: Reading the variable "User::GvPathRoot" failed with error code 0xC0010009. End Error The way my variables are constructed is : First the global variables (Gv*) are set by the parent package; Then local variables (Lv*) are set using the EvaluateAsExpression property and giving it an expression that takes the Gv* variable and concatenate a string to it. At execution time, while the expressions are resolved, I get the abov ...Show All
Visual Studio Registering Event-Handlers in IDTExtensibility2.OnStartupComplete does not work!
Hi! I am writing an VS addin which tracks all code changes. Therefore I subscribed the event "TextEditorEvents.LineChanged" in the method "OnStartupComplete". My addin is configured to load at the VS startup. After a solution with a C# project is loaded and a file is changed no line changed event is fired. I verified with the debugger that the "OnStartupComplete" method was executed and that my event handler was registered. I can reproduce the same in VS2003. If I register the same event handler in the "Exec" method (executing a named command) of the addin everything works fine. Whats going wrong Kind regards Sebastian ...Show All
Visual Studio Problem Installing MS VISIO
I hardly use any software from Microsoft except Operating system and MS Office. I found out that VISIO is a good tool to create diagrams and flow charts. While I was installing MS VISIO , I got the following error. "You must first install one of the qualified Visual Studio Editions" Any Solutions What should I install first I don't want to pay microsoft hefty fees. Because I am not going to use any other software other that MS VISIO. Any solution Thanks in advance. The version of Visio you have is tied to Visual Studio 2005. It was released only for ...Show All
Windows Forms Master-Detail Datagrids
I need to create a Master Detail form with two Datagrids for two tables, but also bound a textboxes with the fields info for each row when the user click the Parent Datagrid. How I can do it Thanks You will have to have a relationship between the two tables, Master will be set to the primary table, while the child datagrid& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vertex Buffer Question
I was wondering if it is possible to change the size of a vertex buffer after the buffer has been created The reason i ask is I am making some terrain that is made up of smaller grids but the number of vertices in the buffer need to change all the time because i do not want to always render all the vertices. Any help is appreciated. Thanks in advance. Instead of recreating a vertex buffer everytime you have different amounds of data, you should read up on dynamic vertex buffers. Just create a vertex buffer with one size, preferable the size of your best guess of the maximum number of vertices you'd have in the buffer at any one time. Fi ...Show All
Windows Forms MDI child controlbox (minimize,maximize,close)
hi every one....... just a simple question here. i've set my child form to maximize in its parent form. how do i want to make the child control box (minimize, maximize and close button) to be hidden. thank you qinxutongz...... it works but still with a little problem.... on the first load it still display the controlbox.... when i click the minimize ...Show All
Visual Studio Express Editions I can´t create a new Website!
When I try to create a new web site, I get this error "the number separator information specified in the numberformatinfo in ambiguous for parsing" and the project isn't created. I can create new single files but no project. My Windows is XP danish I trying to create asp.net Web Site version 2.0.50215 My mail Haniiraqi@hotmail.com you also could try to change the decimalseparator to , and groupseparator to . in your xp settings. works fine with me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transform error
I have created a simple mesh picking code and placed it under my mouseup event, here is the block of code for ( int i=0; i<50;i++) { //intersection information IntersectInformation closest; //the near vector Vector3 near; //the far vector Vector3 far; near = new Vector3(e.X, e.Y, 0); //the mouse coordinates far = new Vector3(e.X, e.Y, 1); //the mouse coordinates near.Unproject(sampleFramework.Device.Viewport,sampleFramework.Device.Transform.Projection, sampleFramework.Device.Transform.View, Matrix.Translation(MapX , MapY , MapZ )); far.Unproject(sampleFramework.Device.Viewport, ...Show All
SQL Server Multivalue Parameter SQL Server 2005 SP1
Hello, I've installed SP1 for SQl Server 2005 and I noticed that the option "Select all" on a multi value parameter drop down (using web browser) is missing. Even if I can see it on VS 2005..... Anyone can help me Thank you very much. I rely on the 'Select All' capability as well. How can I get it back now that I've upgraded to SP1 ...Show All
Software Development for Windows Vista FileWriter and Dump Question
I need a FileWriter that I can pause the writing via my VB6 project, without having to restart the graph. Since there is no source code for FileWriter, I was thinking of rewriting Dump in the SDK. But I have no idea where to start! How can I modify Dump to be like FileWriter, able to write uncompressed AVI to file Any help or direction would be greatly appreciated! An alternative approach is to use the two-graph approach shown in the GMFBridge sample on my web site. Look at the VBPreview sample. This has the capture device in a separate graph from the mux/writer, so you can stop (or pause) the file recordi ...Show All
Windows Forms Multi Column List
How can i create a list with multiple columns i've spend days trying to figure this out with both lists boxes and the datagrid control If you can use Visual Studio .NET Beta2 the new DataGridView control supports row selection mode. Just set SelectionMode = FullRowSelect. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Software Development for Windows Vista WF and WSS (Windows Sharepoint Services) 2003
Hi, I have to make a document's workflow that host in Sharepoint 2003. Can I use Windows Sharepoint Services 2003 with WF If not, then, must I use partner products like K2.NET Thanks in advance Ignacio You can use WF with pretty much any current Microsoft technologies -- it's not so much a 'is it possible' so much as it is a 'how much work is it.' You might consider hosting WF in a windows service on your host machine that receives messages from a document library event handler. You can also add smart doc capabilities to the documents that communicate with the WF windows service as well ...Show All
