Sarika_MS's Q&A profile
Visual Basic Visual Basic 3D
I have this problem to solve, hope that you can help me: I have a building with a “control system”. The control system, depending of the temperature inside and outside the building, opens and closes windows automatically. I want to create a 3D model of the building that displays in real time the processing mode of the building (temperature inside and outside, windows that are open and closed, etc). For that I have to interconnect the “control system” of the building with a computer. The control system give data (temperature inside and outside, windows that are open and closed, etc) in format txt. I want also to be able to use the comp ...Show All
Visual C++ CBitmap - Simple example
Hi, I am trying to load some images in a Picture Area. I only have the pointers to the images, and this pointers are of the type unsigned long* (I can also convert it to IplImage* to use with OpenCV). This unsigned long* get the images grabbed from an camera and I would like to display these images in this Picture Area (it is real time, I get the images from my camera and display them). I have tryied to use this (HBITMAP)LoadImage function, but the last parameter is always LOADIMAGEFROMFILE but this is not real in my application. So, can you help me with convert my unsigned long* to an Bitmap and than load it on the exacly place that I want ...Show All
.NET Development sqlDataAdapter
Hello all, I am having a problem with my sqldataAdapter using SQL server Mirroring. The problem is as following: My sqldataAdapter fill a database with data from my sql server. To optimise connection pooling I don't explicit open the sql connection. My connection string specify the principal and the failover server. To test SQL Mirroring I load my page and click the load button to load the records on the grid. This works as should. then I stop the principal server, which causes the failover server to take over and start servicing requests. then I click on the load button again, but this time an exception occurs because the sqldat ...Show All
Visual Studio Team System File Attachments NOT opening
We are running TFS Beta 3 Refresh, Single Server. We can attach files (pictures, txt files etc) to a bug or task but when we try to open an attachment Internet Explorer spawns and just sits there forever trying to access a page. I can only get the attachment to display (and even then it only displays inside Internet Explorer and does not spawn the asssociated program to view the attachment) by pushing the stop button then hitting refresh. THe attchement then displays inside of IE. I have added our server website to the trusted sites and that did not work. I have also tried lowering the security settings for each zone and that did ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is it possible to import .X files into 3D Studio Max?
Hey guys, In a spot of bother here! I'm doing some work for a game and had a ton of short animation files i had created in 3DS Max and then exported to .X format using a third party exporter. I now need to render these animations as BMP frames for importing into a Flash version of the game. I may also need to reanimate bits and bobs. I placed all the Max files on someones portable hard-drive for safe keeping... problem is they've gone and deleted them all!!! I still have all the .X files - is there anyway i can import these back into 3D Studio Max Thanks for your time! El_Bev Okino / PolyTrans suppor ...Show All
Visual Studio Tools for Office help with excel
i'm trying to write a simple function, all i want is that when i write anything in a cell(on column 'A'), the current time (hh:mm:ss) will be displaied in the same line but in the 'E' column and that it WONT update itself each time a type someting.. i just can't make it work.. plz help me.. I'll let you handle the details, but basically you could add an event handler to the worksheet (handle the change event) and see if the target.column==1. This should get you going: private void Sheet1_Change(Microsoft.Office.Interop.Excel.Range Target) { if (Target.Column == 1) { if (Target.get_Offset(0, 4).Value ...Show All
Visual C# Link Button - Windows ApplicationC# Signatu
Hi, How can I make a link button minimize a applicationto taskbar And from the taskbar maximize Thanks C# Signature: [DllImport("user32.dll")] static extern bool CloseWindow(IntPtr hWnd); The CloseWindow function minimizes (but does not destroy) the specified window. To destroy a window, an application must use the DestroyWindow function. Hope This helps ...Show All
Visual Studio Express Editions I wanna use C in VS C++ Express, is it Possible?
Hi Members , i am new into programming. I wanna use C code in VS C++ Express, is that possible Please do help me. Newbie Yes, it is absolutely possible and quite easy. The Microsoft C/C++ Optimizing Compiler that is part of Visual C++ 2005 Express will compile C, C++, and C++/CLI (.NET-extended) programs with no trouble. You can run it from the command line in console sessions and from the Visual C++ IDE. You can use Visual C++ to make new C Language projects and to make projects that use existing C Language code. It is one way to program native (Win32) Windows Applications using th ...Show All
Visual C# disable the default web reference setting
I made a web reference, and I noticed that I can just change the URL in the App.config. I like this, but I also noticed that it is hard coded in the designer code. Is there any way to remove this, or disable it, so that the only reference to the URL is in the App.config Thanks. Hi you can do that, 1. Add web refference of perticular url in to your project 2. copy all codes in refference.cs and place that to another cs file( which is created by you ex. name it as login.cs) 3. inside the login.cs In constructor change this .Url = http://localhost/TestWebservice/LoginPage.asmx ; this to ...Show All
Windows Forms FormBorderStyle BUG? -- Nudge
I hesitate to make a quick call here, but to all appearences, there is a bug in the implementation of the FormBorderstyle property of forms. The bug is that when you toggle from the "None" value to the "Sizeable" value, the display of the form does not conform to the metrics reported for ClientSize, Height, ClientRectangle, Bounds, etc...the form's display does not correspond to what it thinks its state is... The sample program included is very simple. It places a panel on a form and a button, neither have any Docking or anchoring (there positions are arbitrary). The panel had a 1-D border so that its position is easy ...Show All
SQL Server sql server 2005 RS multi-value params june ctp
I have a very simple report with two non-queried values in my param list and the multi-select params box checked. The dataset only has two records, represeneted by the two params. The report always returns both records in VS and report manager whether I select one param, both, or the "select all" option. Anyone esle have this experience Microsoft SQL Server Report Designer Microsoft SQL Server Report Designer Version 9.00.1187.00 Microsoft SQL Server Report Model Designer Microsoft SQL Server Report Model Designer Version 9.00.1187.00 Microsoft SQL Server Management Studio &n ...Show All
Visual Studio Express Editions Using ListView SelectedIndexChanged Event to Show Forms
I'm really hoping somone can help me with the below problem. I posted it originally in the Windows Forms forum, but so far haven't gotten a reply. I truly would be grateful for any help!! I have a ListView called TrainingListView that has a collection of 12 items. Each item represents another form that I would like to show if the user clicks on it. My problem is that the items in the collection don't appear to have a click event, so I need to use the SelectedIndexChanged event as workaround to get the same functionality. I've been struggling for the last several days on the code to get the SelectedIndexChanged event to open the app ...Show All
Visual Studio Express Editions Opening A Batch File Using Visual Basic Express Edition
Hello, I've recently downloaded Visual Basic Express Edition and I'm trying to make a form with two buttons labelled "Yes" and "No". When "Yes" is clicked I want a batch procedure to run that is already saved on my computer. Can anybody tell me how I can "code" my form to open files in their default programmes I can't seem to figure it out myself... Process.Start(FilePath) For more : Process.Start Method . ...Show All
Visual Studio Team System Problem with Workitem access control - does VS cache things?
Hello! We have a problem with what seems to be access control in the work items. We are running TFS Workgroup edition (with domain accounts) on single-server installation Virtual Server running on Windows 2003 Enterprise Edition R2. The TFS version is RTM Workgroup. The problem occurs on user account that was defined to be Server and Project administrator as well as belongs to SharePoint services defined administrator user group. After setting up the TFS everything worked fine and the user was able to create projects normally. However later on the new project creation failed at Workitem stage. We tried restoring the VPC im ...Show All
Visual C++ Weird registry behavior with Win64 (AMD64)
I have a normal 32 bit application which does the following: HKEY hKey; int nCount = 0; DWORD dwLen; if (RegOpenKeyEx(HKEY_CLASSES_ROOT, "CLSID\\{<<UUID>>}", 0, KEY_ALL_ACCESS, &hKey) != ERROR_SUCCESS) { printf("problem\n"); return nCount ; } if (RegQueryValueEx(hKey, "u", NULL, NULL, (LPBYTE) &nCount , &dwLen) != ERROR_SUCCESS) { printf("problem2\n"); } return nCount ; I'm using Visual C++ 6.0 and compile it for normal 32 bit. When I run it on normal 32 bit Windows XP everything runs as it should. When I run it in debug mode under Windows XP x ...Show All
