jay2006's Q&A profile
Visual Basic Getting CPU temp
Does anyone have the code for getting the cpu temps for a program not all machines can support reading of the cpu temperature, it's a function of your BIOS software. Sometimes the bios manufacturer will supply dll's that you can reference to call the required function and return the details, when you reboot your computer get the bios manufacturer and model number and check and see if they support it. Cathal ...Show All
SQL Server how to append windows login name to table name
hi, I want to append the windows login name to the table that i created in the stored procedure, Is there any command , can any one help. Advance thanks If I understand it correctly, you want to create a table using a stored procedure and the name of the table will contain the Windows login name of the use. Is this correct Are you calling the stored procedure from TSQL or through a .NET application Can you provide more details ...Show All
Windows Forms Adding a new "blank" record to edit
I have a bunch of controls bound to a dataset. When I bring up existing data and make edits, all is well. But I'm missing the boat completely when it comes to adding a new blank record to be filled in. I try adding a new row, but just get DBNull exceptions. Where am I going wrong You're probably having the "two different&n ...Show All
Visual Studio Express Editions Developing Projects on a Linux-based Server
We have just installed a new server which is Linux-based and want to store our porjects on this server. I have created the directory structure on the server and configured VB Express to default to the correct location for saving etc. Everything appears to be fine until I run the project. When I run any project I get the word 'Internet' prefixed on the main form and a bubble saying never to type your password unless you can trust the server. Any Ideas on what I have to do to stop this from happening There are security restrictions in place by default when running a .NET application from a remote network resource. The followin ...Show All
Visual Studio using VSS with other development sw
Hi, I am new to VSS and I am evaluating the use of VSS (2005 beta2) as unique source control system for several development platforms. I see that Vss is well integrated with visual studio and some other tools, I haven't found informations about its use combined with other sw such as microprocessors cross compilers, CAD and CAE tools, ASIC and FPGA development tools and so on. What I am searching for now is which method to use to handle projects' folders such as the ones regarding constraints, source files (possibly nested), makefiles, simulation stimuli, libraries, and so on. Conceptually these folders are not subprojects also if they can ...Show All
Smart Device Development Mobile 5.0 Emulator Images
Can I download the Moble 5.0 emulator images without the whole Windows Mobile 5.0 SDK I want to use them with the standalone Microsoft Device Emulator Version 1.0 preview. The only images I can find are for the localized versions which are no good for me. I would download the SDK and get them from there but I can't run the SDK MSI because it requires Visual Studio 2005 beta. I would download and install the Visual Studio 2005 beta but that would defeat the object of trying the stand alone emulator. As you can see I'm going round in circles here! Please help. You can extract images from MSI file without installi ...Show All
Visual Studio Team System Add Work Item menu still loading...
I just uninstalled/reinstalled TFS on my server. I uploaded my custom process template, and created a new team project from my template. However, when I try to right-click the Work Items folder, Add Work Item, it says "Add Work Item menu still loading...(try again in a moment)". It has been saying this for over an hour now. When I remote desktop into the TFS server and use team explorer on there, I can add work items just fine. What is going on here Everything else on my dev machine client appears to be working. I can upload and view documents just fine, and I can run work item queries and see the proper ...Show All
Software Development for Windows Vista Concurrent input devices in Vista
Hi! Is it possible to have multiple input devices in vista, i.e. connect e.g. 2 or more mice and have them used at the same time with 2 different mouse pointers that can interact with different windows at the same time What I want to achive is something simmilar to this for X windows, http://multicursor-wm.sourceforge.net/ Hi, me and a freind hooked up two mouses or should i say mice to my computer. We were both able to move the one mouse pointer. It is posible to get two mouse pointers on the screen at once and we can control each one Have a nice day everyone ...Show All
SQL Server Replace ODBC Login Prompt in MS Access
I'm controlling the connections to my SQL Server through code. I'm trying to avoid saving the username and password in code however. It's easy for me to display my own login form, accept a username and password, and use those to reconnect my linked tables. However, I'm trying to figure out how to work around the problem of when a user enters an improper username and password. The system would then bring up the standard ODBC username and password dialog. I want to trap this, not display it and return to my form. I've been told elsewhere that it's possible to tell the ODBC dll to silently fail back to Access or ...Show All
Visual Studio Team System TFSWarehouse schema?
Hi, The following two threads say that TFSWarehouse schema will be documented and made public: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=118509&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=155658&SiteID=1 Is the document ready and made public somewhere (msdn links or blogs) If yes please do let us know. We need to create custom reports. Thanks, Saurabh Hi Saurabh-- RTM has been released, so you can now look at the schema on RTM bits. For details on how, see http://blogs.msdn.com/robcaron/archive/2006/03/20/555717.aspx Thanks! Mauli ...Show All
Visual Studio Team System Coexistence of VSS and TFS
Hi, Could you please confirm if co-existence of both TFS and VSS is possible and there is no impact on each other. By this what I mean is that both VSS and TFS are installed on the same box and some projects are using VSS and some are using TFS SCM. I am worried because I saw a link http://www.eggheadcafe.com/ng/microsoft.public.vsnet.vss/Jul2005/post23030072.asp which states that there is a issue with this (thought he is trying with Beta). I am not sure if there are any issues in the released version. Please guide as I have to make some decisions based on this. Thanks and Regards Prash ...Show All
Visual C++ I am a learner,will someone recommend a good book of VC?
My question is in the title........,Please tell me....thx... Take a look at the following link with nice MFC programming books in general. http://www.amazon.com/exec/obidos/tg/detail/-/0201633582/002-7229022-1197648 v=glance Also, msdn is a great place for MFC references and samples: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vcmfc98/html/mfchm.asp Hope this helps! Thanks, Ayman Shoukry VC++ Team. ...Show All
Visual Studio 2008 (Pre-release) WPF is missing a "construction API" for 3D
Wouldn't it be great to have a set of WPF classes that help me construction 3D Objects Sort of like we know it from 3D Modelling tools Here are some examples: Boolean operations on 3D Objects: union, intersection, difference revolve Spline: you define a spline, revolve it around an axis and you get a solid object extrude along spline: you define two splines fo example a circle and a straight line and you extrude the circle along the line and you get a cylinder mesh loft: you define two splines , for example a circle and a square and you loft from one to the other and you get solid object that on its one end is a square and on his other end ...Show All
Windows Forms Question about Custom Control on Focus, Cursor
Hi, I need make a control for input something like TextBox, but for some reason, I don't want to drived it from TextBox. I drived my class from Control. I meet some problems. 1. OnPaint:When the control is in focus, how to paint edge as it look like in focus 2. OnPaint: I want to draw 3D edge , which Griphic function&nbs ...Show All
Windows Forms Databind short date to masked text box
I'm having a hard time binding a DateTime column of a typed dataset to a masked textbox. I have a masked textbox with the mask of 00/00/0000. The binding works, sort of, but if the date is something like: 02/14/2005 then the textbox drops the leading zero giving me 21/42/005, which is obviously not what I want. I opened a bug on this (FDBK29210) and was told the problem wasn't with the textbox, but rather with the databinding. A comment on the bug suggested I add the following format to my databinding code: "MM/dd/yyyy". I went ahead and did that and it still fails. My databinding code looks like this: birthdayMaskedTextBox.DataBindi ...Show All
