sachin13p's Q&A profile
Windows Forms LOGIN ERROR
I just installed the "taskvisionsource_1.1.0.0.msi" on my machine and when I compile and run the app I get an error when I try to log in. Error: An unknown error has occured. Please review the event log for more infomration. There is no event log file that I can find. Below is the line of code that causes the error: m_Ticket = m_WsAuth.GetAuthorization ...Show All
Visual C++ Syntax of VS 2005 autoexp.dat [Visualizers] section
I've just upgraded to VS 2005 and the new [Visualizers] section of autoexp.dat looks very exciting - but I'm finding it difficult to interpret. I realise that it's most probably undocumented, but does anyone have experience in manipulating it I'm writing unmanaged code and have quite simple structures that I'm interested in. Here's an example: struct SimpleStruct { double* m_ptr; int m_len; } std::vector<SimpleStruct> svec; ...and after a while, svec has 100 elements, each of whose lengths are typically 2 or 3. I would like to be able to view the vector all at once in the watch window - which is something you could do if ...Show All
Windows Forms control for dates?
I'm looking for a control that displays dates in a choosen dateformat (dd/mm/yyyy, mm/dd/yyyy...) I'm not looking for a calender or something like that, more something like a textbox that automatically adjusts a date (for example one from a database) to the wanted format. Does anyone know if there is a control that describes my needs Thanks! I’m afraid that I do not know of such a control however building one would be trivial, try something like this: public class DateTextBox : TextBox { &nbs ...Show All
.NET Development VS 7.0 (2002) conversion to VS 2005
I intend to upgrade to VS 2005. Two questions. Can I get the upgrade package and go from 2002 to 2005, or do I have to purchase the full package. Second, if I continue to develop code in 2002 will the "conversion wizard" upgrade it to 2005 pretty comprehensively, or will I have a lot of rework Ahmed, I am upgrading to VS 2005 Standard from 2000 Professional. Gordon. ...Show All
Software Development for Windows Vista SDK for low speed connection?
Far from the town, i have a low speed connection.. :-( For me, 1 Go is a dream I will never reach .....!!! Is there any other way to get the Last SDK You have two main options: Download the SDK using a download manager that can stop and resume if you have internet connection issues. Many will also allow you to set the priority of the download, so that it will not affect the total speed of your internet connection Download using the setup.exe. This web setup uses the power of Internet Explorer caching to download just some smaller individual files rather than the entire SDK at once. You may still experience some slownes ...Show All
Smart Device Development DNS api in evc++ 4.0?
Hi, I have an app which i ported from linux ... into win xp ... and now i try to do the same for win ce (pocket pc 2003 SE). I need to do some DNS SRV querying for a _sip._udp.domain ... in linux, i can use the libresolv ... in win xp, i use DnsApi (DnsQuery ... ) ... what can i do in evc++ Or even better, does someone know how to do the DNS SRV query using the same code for linux/winxp/wince that would be just great! :D Thanks a lot! Cesc This qsn might be better addressed by other news groups specified at following link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=28672 ...Show All
Visual Studio Team System Auto-Save of Manual Test Results in Beta2?
I am using VSTT Beta2 and I have couple of Manual Tests defined. When I run the tests they run alright, but after I close the project I do not see any auto-saved *.trx files. Although the documentation from [ ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VSENT.v80.en/dv_vsetlt01/html/043df693-8af2-4a85-b4ba-876446057a82.htm ] states "Visual Studio Team Test automatically saves test results to your computer's hard disk when you run tests. " So where do the test results get saved Or is that a missing feature in Beta2 PS: I know I can manually export it out. I am looking for the auto-save functionality. Regards, Saurabh Nandu www.MasterCSharp.co ...Show All
.NET Development XLink within same page
How to create an xml link that links within the same page Something like in html anchor tags within same page <a href="#PrivacyPolicy"></a> <a name="PrivacyPolicy"> Goes to this part of the html page </a> Please advise Thanks in advance! KK You can use DTD to describe some attributes as ID and some other as IDREFS and this way establish relationship between nodes in your document. There is also XPointer specification, but MSXML and System.Xml don't support it. More infor about XPointer and its implementation on MVP web site: http://mvp-xml.sourceforge.net/xp ...Show All
Software Development for Windows Vista External trigger for workflow initiation
I'm still trying to get my head around WFW and want to use it for a common scenario we have here at our business (401K management), triggering new workflows based on business events generated outside the workflow. For example, if someone leaves their employer, their participation in the 401K plan is terminated. That business event will be generated via one worklow. Now, I'd want another workflow, potentially in another process space on another machine, to respond to that business event to start another workflow and pass that event along. I realize that WFW doesn't support the cross process communication (I plan to handle that via a PeerChann ...Show All
Windows Forms Build of project reloads User Controls in Toolbox every time.
Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham Mike, I am going to check that out first thing in the morning. If that does it, there will be a lot of happy people in our office. I asked multiple developers on my team to ...Show All
Visual Studio Master-Detail Reports
Is there anyway to do a Master-Detail report with a separate table for the Master data and one for the Detail Crystal Reports does this, as crappy as Crystal is I'd hate to lose something. Did you manage to find an example using a subreport I cant seem to find one, im trying to link my main report to the main table and a subreport to a details table but cant seem to get it to work The only examples i can find are not connected to seporate database tables They are using xml data or embeded data ...Show All
Architecture how to install several programs in farm
I am beginning in a project which is a total disaster. The company has done a lot of things that I don't like so much, but I am an analyst-programmer, so I have not voice for changing anything. One issue is that all the modules of the different programs are in all the machines of the farm (>100 servers). So the load is balanced between all of them. I think that this works but isn't a good policy: 1) Perhaps if a program fails It could make all the servers to fall down because it is in all of them. 2) The loads aren't understood, because it is difficult to view which projects are the heavy. 3) Having >100 IISs makes AS ...Show All
Visual Studio Express Editions form1.show() problem
Hello, I don't know how to do this but I anticipate this to be easy... I have form1 and form2 and I want to open form2 and close form 1 without closing form2... I've tried: form2.show() from Form1... but it would open form2 but close form1 Thank You! Keehun Nam Can't be done, unless there's a seperate form that holds both of these. When you close form1, your instance of form2 is lost as well, as it's a member. ...Show All
Windows Forms what control is in the locals window?
I wonder what control it is called in the locals window in VS.net. It looks like a grid, but i don't think it is regular datagrid. Thanks Hi, It's window class is saying "TREEGREED" (you can check it with Spy++), so I guess it is not regular datagrid. It is probably something that was developed or purchased (Microsoft purchases third party components for VS ) specifically for VS. Max ...Show All
Visual C++ VS 2005 Compile issue
Hi, I just got Visual Studio 2005 up and running and tried using it on a project that I have been working on in VS2003. Got a lot of compile errors. One that comes up quite frequently has to do with some generated code within InitialzeComponent(). For example a button click event line such as, this->btnRunSim->Click+= new System::EventHandler(this, btnRunSim_Click); The compiler fails on the second argument, tells me that I have to replace it with a couple of scope resolution statements, , &nameOfTheSolution::NameOfTheForm:: and then the name of the button, in the above case btnRunSim_Click. I use the conversion feat ...Show All
