sroughley's Q&A profile
Visual Studio Really Frustrated With VS 2005
I posted earlier about the fact you cannot get a copy of VS 2005 Pro even though the "launch" was 11/7. I have a Windows app I built using the VS 2005 Beta 2 that I need to update but since I downloaded the new Express editions (thinking they would work - wrong!) all the Beta 2 stuff is gone. OK, I went to my other system (Win XP SP2) and figured I'd install the VS 2005 Beta 2 there and use that until someone decides to "really" release VS 2005 Pro. No Joy. The install completed saying that it couldn't install all componets - it listed some like J# (which I never use) as failed installs. I deided to do a Repair/Reinstall - that al ...Show All
Windows Forms RichTextBox keyboard shortcuts
Hi, I'm adding some formatting buttons to a RichTextBox, as well as some keyboard shortcuts. The menu buttons work fine, but I'm having issues with the keyboard shortcuts. I got Ctrl-B to trigger my Bold() function from the KeyDown event with: if (e.KeyCode == Keys .B && e.Modifiers == Keys .Control) { Bold(); } However, when I did the same thing for Ctrl-I and my Italic() function, I found that Ctrl-I is adding a tab to the text as well. Why on earth is it doing that According to the documentation for TextBoxBase.ShortcutsEnabled only the following shortcuts are enabled: CTRL+Z CTRL+E CTRL+C ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to make a trainer.
Does anybody on this forum know how to make a video game trainer in c++ (using visual c++ express) I would like to know how to do this. I know it is not impossible. I have searched the internet and all the examples I could find are either extremely old or they are for asm (which I do not know). I am fluent in vb and vb.net, if that matters. If someone would be nice enough to explain the process to me, it would be great. Thank you. This is a bit tricky as when I was younger I used to fool around with UFO enemy unknown and increase my cash flow. This was done in Hex. What I suspect you have to do is find out where the locations of things ...Show All
Windows Forms Hiding Column not working
Dear sir i have two tables 'master and detail' on on form....textboxes and grid i want to hide some coulmns from the grid i made tablestyle:collection,mappingtable,collection:,mappingcoulmn width=0 BUT STILL NOT WORKING I don't know what you mean, but if you want to hide column in datagridview, you can set property "Visible" of that column. Ex : textboxcolumn.visible = false. Hope it helpful. ...Show All
SQL Server Install SQL Server 2005 for Developer
I have read the system requirement readme file and found that we can install the SQL Server 2005 on Developer mode. I Have SQL Server 2005 Enterprise but inside the setup directory i found sqlrun_DTS.msi, is this installer for developer Well if so then here is the problem when i try to install. 1. When i try to install i found error that say sql.cab not exist (i search and not exist too). 2. It also said that don't have privilledge to access C:\Config.msi (i don't found any file with name Config.msi). 3. If i can install this mode (developer edition) do i have a server (MSDE) to run the server. 4. The last one (you must answer this), how can ...Show All
SQL Server SQL 2005 Upgrade problem.
Hi: I had a serious problem today. I was upgrading SQL Server 2000 default instance to SQL Server 2005 when the setup failed to upgrade the database services with the error: The password does not meet Windows policy requirements. I chose windows Authentication during the upgrade. I for sure know that my password meets all the windows requirements (length, password charcters as outlined in BOL) and still it failed. I tried more than 3 time with the same error. Does anyone know if there is a work around or what is the reason I got the error . was yukon checking some policies when windows authentication mode was chosen during ins ...Show All
SQL Server Best Practice for storing Blog text
Hi.. I am working on creating a blog for my site(not yet ready). Here's the idea -- I will have an 'Add a blog' page where it has a textarea and a submit button. I will write the blog in this textarea and hit submit. It will be added to the database and I will retrieve it in the actual blog page and bind it to a datalist. The blogtext even has the <br><font> tags etc... but then i'll hv to reframe the keywords with [keyword] I guess.. Is this the correct practice Is storing blogtext in a SQL db a good idea.. Is there a better way of doing the same Thanks. Did you have ...Show All
Visual Studio How do i get a referrence to IvsSolution
hi, i need to create a new project using the IvsSolution.CreateProject method. to get a reference to IvsSolution i am using: IVsSolution solvin = (IVsSolution)GetService(typeof(SVsSolution)); however when i debug, i find that "solvin" is set to null even after the execution of the above code. am i missing something regards vineeth Hi, I've posted about creating new project using Visual Studio SDK. You can read about it here . Gady Elkarif http://blogs.microsoft.co.il/blogs/egady/ ...Show All
Visual Studio 2008 (Pre-release) Is MSMQ broken??
The following simple example doesn't work properly. It was built using VStudio 2005 and both the machines involved have WinFX Nov CTP installed. It appears that MessageQueue.Receive only works correctly with a queue on the local machine. This also prevents ServiceHost from working correctly with MsmqIntegrationBinding - which is how I discovoered the problem. I have tried this code in both directions between the two machines with the same results. Local queue access works fine, but remote queue access appears to be broken. Writes are OK, and the first read is ok too. Subsequent reads just hang the calling ...Show All
Software Development for Windows Vista problems with vista 5365
Hi We have an automation client application which is built against winfx Feb CTP dlls. The assemblies UIAutomationClient, UIAutomationProvider, UIAutomationTypes and WindowsBase are versioned 3.0.51116.0 in Feb CTP; in Vista 5365 they are versioned 3.0.0.0. Since there is no new SDK yet, we used bindingRedirect to redirect these assemblies to the new (lower number) version. The application now runs, but the element tree seems problematic. I don't see any elements with ControlType other than "Window" or "Pane". For example, the start button was typed "Button"; it's type is now "Pane". When ...Show All
.NET Development populate to datatable from listbox
hi. i am writing a project about ppc. when i clicked the button order names and order pieces added listbox1 and listbox2. one customer can have a lot of orders. so when i clicked other button i want to load these orders to datatable. and in the datatable, i want to load orders this customer. how can i do this. thx. Hi I guess you can create a datatable and loop through your list and add the rows to the table. Then you can bind the created table to a control. I hope this code would help DataTable dt = new DataTable(); dt.Columns.Add("Name",typeof(string)); dt.Columns.Add("Address",typeof(string)); ...Show All
Smart Device Development unable to launch device EXE
Hi I am developing application using Pocket PC 2003 SDK. Now I want to test the application using the application verifier provided by Windows CE 5.0. However, when I want to connect to pocket PC emulator from the Application Verifier which is located in C:\Program Files\Windows CE Platform Builder\5.00\cepb\wcetk\ddtk\desktop\appverifce.exe, it always gives me an error : Connect To Device Error, Unable to launch device.EXE. Anybody ever experience the same problem I welcome any suggestion. Thank in advanced. There's a recent whitepaper that was released with respect to AppVerifier http://msdn.microsoft.com/ ...Show All
Windows Forms Display Windows Form (Form itself, Not control) in IE
Hi All, We have one Simple Windows Forms application which is presently running independently successfully. (Very Simple Single Form Application) Now, We need to embed the same app inside IE. Well, We can for sure display any control in the browser by converting to assembly using <object> tag. But, Can this form itself be displayed in the browser. Form is created like this, namespace EmbedTest { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; public partial ...Show All
.NET Development I have some problems with the Session variables
Can anyone help me solve the problems about the session variables My site was created by ASP.net (based on latest version of .net framework). It 've worked properly since I changed the WEB.CONFIG file on my root folder, and the unexpected problems appeared gradually. After the file WEB.CONFIG has been modified, all of my session variables don't work . I try to change the config file again to the simple one, but there is no matter. How can I fix this completely Why the modification of config file can causes this problems Since the problems, I 've to use cookies instead of all session variables as a temporary solution, but I ' ...Show All
SQL Server Need to know if the report is printed
Dear all, I'm using Reporting Services 200 and I need to trigger the event of printing, meaning, I need to know if the user printed the report or not, or at least if it's processed (viewed). Is there any kind of flag in log files that monitor that Thank you. In 2000 we did not log renderings from within an existing session, so there is no way to get this information. In 2005 we do log these renderings. At best you could see when an image rendering was executed. This does not gurantee that the report was printed but that it was rendered. If all you care about was that the report was viewed then you ...Show All
