aus82's Q&A profile
Windows Forms how to add combobox column in datagird?
("Problem"->i want to get checkboxes in the datagrid column. and the table(SQL) name is BrokSlab and the column name is "PercentageStatus".) There is a datagrid Column "PercentageStatus" which contains a values '0 and 1'.Now i want to get this column in the datagrid instead of display 1 and 0 in the datagrid column i want to display checkboxes.Now the problem is i am getting this column with all checkboxes are checked and it look like hidden or i can say it looks like disable. so this is my coding. i am past all my coding. there 1 class which is called "DataBase" and the other is "SupportBrokSlab" all working is in this class "SupportBrokSlab". GetData is used to get the filled table now in 1 we get all checkboxes are checke ...Show All
Visual Studio automated check in
How would one automate the check in for a project with in the solution I have the Project instance in a ProjectItem var. We are using TFS for our source control, not sure if it matters or not. Thanks Wayne You can use some ExecuteCommand methods to do this, as Carlos stated, but the SourceCodeControl object on the DTE interface deliberately does not have a CheckIn method for one very good reason - automated checkin can be dangerous. When checking out files, if there is a merge conflict you can only cause problems on your computer and your enlistment of that source code. However, when trying to check in, then one of four things can happen - 1) No conflicts and everything works OK. 2) No conflicts so it che ...Show All
Visual Basic Using Colormap values in an array to pass to SetRemapTable
I'm having difficulty doing it. When I declare an array as new object and load it up with ColorMap.NewColor and ColorMap.OldColor, I get a runtime error which is essentially a type mismatch error. When I attempt to declare an array as new ColorMap, I'm told you can't declare an array as new. Can someone tell me what I need to do Or, if I'm on the wrong track for my purpose, which is simply to swap one color for another in a bitmap, perhaps someone could tell me how to do it. I'm using Visual Basic Express. Thanks. Thanks for your reply. I found a clue here: http://www.java2s.com/Code/VB/2D/ImageRecolorDemo.htm I had to revamp the code a little to get it working...don't know why... ...Show All
Windows Forms Sending an Event
Hi folks, I'm just curious to know how i can send an Event to my own Form In particular, I'd like to send the Focus | Leave Event for a textBox control, even though that Event may not have actually occurred. A better question is what will fire this event Do you want a timer or the user presses a button to start the process Or is this something outside the actual program.... If it is within the program such as a button press, or a timer, one doesn't have to actually send the event , just call the OnFocus( ) method directly and place nulls/nothings into the arguments. Unless of course the arguments are used by the method then fill them in appropriately. Note if it is in a timer and one is doing screen up ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Translating C# DirectX example to C++/CLI
Hi, I try to convert/use a DirectX C# sample in C++/CLI but got stuck on following C# statement: vb = new VertexBuffer(typeof(CustomVertex.PositionColored), 3, device, Usage.Dynamic | Usage.WriteOnly, CustomVertex.PositionColored.Format, Pool.Default); How would you convert this statement to C++/CLI I couldn't go farther than this. vb = gcnew VertexBuffer(CustomVertex::PositionColored::GetType, 3, device, Usage::Dynamic | Usage::WriteOnly, CustomVertex::PositionColored::Format, Pool::Default); Seems that I don't have the right equivalent expression for "typeof"... Any hint Thanks for help, Stephane ...Show All
Visual Studio Team System Why can we not delete objects from schema view?
Hi, What is the rationale for only allowing us to delete objects from Solution Explorer and not from schema view Thanks Jamie At first I had an FK constraint that I wanted to remove but found that it was not possible from the scema view. Then I tried from the solution explorer but failed. In the end I tried to remove complete tables but that also failed. Finally I found that I can't delete any objects at all, I get a prompt to verifyu that I want to remove the object and any child objects but nothing is deleted. This is with "Microsoft Visual Studio Team Edition for Database Professionals Version 2.0.50727.206" which is the first CTP of the DB Pro edition that I have installed. /Per Salmi ...Show All
Visual Studio Team System Cannot execute a Build - TF42045
I am getting "TF42045: A build for the team project: xxx is in progress on build machine: yyy. On each build machine, only one build can be active for each team project. Use a different build machine or try again later." and I can no longer execute any builds for the Team project. I have restarted the TFSBuildService and the build server, enabled tracing on the application server, which again logs the above message and there are no alerts in the event viewer. Can anyone suggest where I can look for this phantom build that is running I have also called the DeleteBuild web method in the BuildController to clean up previous build it that makes any difference. thanks in advance. Hi M ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game textures are being overwritten
I posted this in Game Studio Express forum, and didn't get any replies. It occurred to me that I may be in the wrong forum. I made a simple game Menu class, as well as a MenuItem class, which allows me to build simple menus by providing 2 images for on and off state, x and y position, and an event handler. I got this working perfectly Later, when I began drawing game pieces, I find that the game peices showing up are images from my menu! The widths and heights of the REAL images are being used, but the menu images are being resized, and drawn where the game pieces should be located. I believe I have posted enough code below. Here's the code for the menu clas ...Show All
Microsoft ISV Community Center Forums what is wrong with this formula? *9 Views & no one knows?*
=IF((Weeks!D(B1+6))="",1,2) whats the error with this D(B1+6) is ment to respresent a cell with D = the value of B1+6 what am i getting wrong Not everybody who reads/posts here is working in Excel VBA. If people view and don't reply, they could be just thinking of an answer, or they might simply not be familiar with your problem. Complaining about not getting an answer won't help bro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture trouble
Greetings, programs. I'm having an odd problem rendering a simple bitmap to the screen. I've got a 256x256 texture that I'm trying to render onto a 1024x768 screen. I've got 4 vertices to make the two triangles that make up my screen rectangle. I lock the texture and fill it with differently colored horizontal stripes, then present it to the screen When I use D3DFVF_XYZ coords in windowed mode, it shows up perfectly. When I use D3DFVF_XYZ coords in fullscreen mode, or use D3DFVF_XYZRHW coords in either windowed OR fullscreen mode, it looks like this: Link to a screenshot. Note the diagonal tear. Any ideas on where I should look for the source of the problem I've checked the values of my vertices and tu/tv values, and al ...Show All
Smart Device Development TCP/IP transport via ActiveSync?
I currently have my WM5 device hooked up to desktop PC via ActiveSync 4.1. The device is set up so that I can surf the internet using PIE. I have an HTTP server (implemented with HTTP listerner) running on the desktop PC, waiting for requests from a client app running on the device (using HttpWebRequest). Without WiFi switched on, the client app on the device cannot access the HTTP server. Pinging desktop PC also does not work However, when I switch the Wifi on, the client app on the device can access the HTTP server (via WiFi). Pinging desktop PC also works. Is it possible to access the desktop PC via ActiveSync instead of WiFi Thanks I have found by experiment that nothing is for free ...Show All
Windows Forms No server in Taskvision 2.0 setup package?
I'm re-posting a six month old thread that had no conclusion. I have the same problem: can't find the server in the TaskVision package. Am I overlooking something Is Microsoft ignoring something Is there a workaround, e.g., has someone adapted the 1.0 server This must be a common issue. Help appreciated, as always. Prior thread, posted May 1, 2006: On the WindowsForms.Net site there is a new release of TaskVision built on .Net 2.0. The description states the following: Task Vision - WinForms PM The TaskVision application demonstrates a full n-tier application for the management of personal and business related tasks. The sample comes with a ready to run demonstration client, full cli ...Show All
Visual C++ VS2005 3rd Party library woes... and solutions!
I have been researching forums about the problems of linking to old 3rd party libraries in VS2005. We are migrating to VS2005 at the moment, and are facing all of these issues. It seems to me to be a big oversight on behalf of Microsoft to leave what must be many, many people stranded with this problem. However, I'm interested more in finding solutions. Looking into the forums, people are coming up with all kinds of suggestions mixing libraries, defining symbols etc... it all looks a little unstable to me. I'd like to list a couple of ideas here and have some input from you as to how practical / stable they actually are: (1) Regarding the mixed mode dlls that we have compiled with VS 2003 that use these 3rd party libraries, compiled for .N ...Show All
Visual C# Help adding mshtml.dll as reference!
Hello everyone, I am having a terrible time adding "mshtml.dll" as a reference to my program in Visual Studio 2005. I get the following message. "A reference to 'C:\Windows\System32\mshtml.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component. I am running on Vista. I've tried un-registering and re-registering the .dll but I get the same error when I try. Thanks. Hi, Marcus mshtml.dll will be shipped with IE, you may try to update the client with the newest IE to fresh the mshtml.dll. BTW: if you have no concern, I suggest you reinstall the .NET framework to see if that works ...Show All
Windows Forms Customize User Interface for extra Input
Hi, Does anyone know how to customize the Setup project to receive the Input from user, such as: License key, the key will needed to be checked upon input. Configurations, that will be saved as default setting. Option to install or not one or more extra project (maybe we have 2 projects, 1 is main, but the other is optional to install) I'm not asking on how to do the license key algorithm, how to write config file. But what i want to know is how can i customize the Setup project so that it can create those extra form and accept those inputs, process the inputs as the result of the installation Though i can add dialog in the User Interface View, i still don't get it, where to costumize so that i can check user input. ...Show All
