pjmvn's Q&A profile
SQL Server script in removing primary key..
help, I need it now, I need a script for removing a primary key constraint. thanks The name of the constraint -- every primary key is named. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < yngielkoh@discussions..microsoft.com > wrote in message news:effa9b68-2bab-4afb-a96b-0e2c186 ...Show All
Windows Forms TreeView image quality
Hi, Why do the images on my treenodes look crappy but the same image on a toolstripbutton looks great. It looks like there is a problem with the transparency color... Can anyone shed some light on the problem Thanks, Richard I could reproduce this behaviour, it was solved by setting the imagelist properties correctly: -In the imagelist, did you set the image size to match the size from the image itself Note that this doesn't happen automat ...Show All
.NET Development selecting string from file
Please can any body write a code for selecting a specific string from file and printing in list box Please tell the code in vb.net for eg file is <items> <header> <eventdate> <month>5</month> <day>9</day> & ...Show All
SQL Server Datatype conversion strangeness
Hi all, After more headbanging and cursing than an entire Metallica audience, I have finally deduced how to store and calculate the values of a stack storing RPN calculations using a recursive stored procedure. But there is a new conundrum. Originally, to test the above, I was using fairly simple values -- 10, 20, +, 3, /, etc. But the real data is likely to include values with at least a couple of decimal places -- these have been configured us ...Show All
Smart Device Development switch off display
Hi, i want to disable the screen until anyone tabs on the screen again. Do you have a code snippet for me You can check this article about switching off the display http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/ppc_layoff.asp Article on switching On the display (scroll down) http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnroad/html/road03132002.asp ...Show All
Visual Studio Team System Web Test: error 400 Bad Request?
I am connected through our internal network to the server hosting the webservice. If I remote into the Server and bring up web service asmx page, I have the option of entering values and invoking the specific method. I copy n' paste appropriate values in the textbox, click Invoke, and it's successful. If I use the very same data on my machine, then run the webtest, it fails with error 400 Bad Request. Are there any issues with the webtes ...Show All
SQL Server Flat file produced but need line returns
My Integration Services creates a flat file using OLE DB Source and then a Flat File Destination. The flat file is created from data from my data source with is just a table with many rows. Each row in my flat file .txt is appended onto each other, there are no line returns after each record. How can I put in a return after each row in my flat file that is outputted from the Flat File Destination component in conjunction with the ...Show All
SQL Server Visual studio interface EXTREMELY slow
Hi folks, I'm working within VS2005/Business Intel studio environment. I've got one master package, which loads about 18 sub-packages as tasks. After openin the master package (and waiting 5-10 minutes for the packages to open and validate), maneuvering within the IDE is nearly impossible, it is so slow. Context menus can take 30 seconds to open. Certian operations, like closing a window, seem to hang the environment. Does anyo ...Show All
Windows Forms webbrowser control will not display web pages in MDI child
I have a c# windows form app with a parent form that is loading a child form. In the child form is a webbrowser control that should load a web page but will not. I have placed messageBox alerts in my code to show when events and& ...Show All
Visual C# How to Replace the First Row of the CSV File
Hi How can I replace only the First ROW of the CSV File. the First ROW looks like this A, B, C, D and I want to replace it with A, B, C, D, E, F A snippet will be appreciated. Here is a little self-explaining example, please feel free to post whenever you have problems with this solution or implementing it in your own situation! public void ModifyFirstRow( string filepath, string newValue ) { ArrayList rows = new ArrayList ...Show All
Visual FoxPro word in vfp
i have seen in some programs a window similar to word that opens inside from vfp.is it possible to open ,lets say a word istance window inside vfp ,so that i can create save print a word document Probably you mean rtf sample in solution.app. Word also could be used with in-place activation in form but not suggested. If you want to do it then instead place a webbrowser control and navigate to a doc file. I recom ...Show All
Windows Forms toolstrip progressbar
Hey i have this "webbrowser" i sort of made myself, but i want a "ToolStripProgressBar" but i cant make it show the progress from my browser. what du i need to do what cammand will i need to call in which event //Martin Well the easiest way is assign a integer and increment the integer value during the search and pass the integer value to the status bar. for eg. statusbar.increment(integerval ...Show All
Visual Studio Team System "Couldn't get Configuration"
Our test project used to work but we broke something - now we get "Couldn't get Configuration" - not much point putting that one into google! A new solution and test project is fine but we'd like to fix our existing (fairly detailed) solution rather than rebuild it from scratch (and maybe have it happen again) Any ideas on this one would be great cheers Dave Hi guys, I got "Couldn't get Configuration" again ...Show All
Windows Forms Windows form keeps dissappearing
Hi, Ive got a rather silly question... hope someone can help. I have created a project with several forms. One form in particular is causing me problems. I cant seem to find my main form (form 1). This is the second project this has happened in. The solution explorer lists all my forms except form 1 which is my main form. When i debug/run the code, my form comes up as per normal. Whats going on Why cant i find my form in solution exp ...Show All
Visual Studio Add-In Wizard problem in VS 2005 Beta 2
Hi, I'm trying to build an Add-in with the VS 2005 Beta 2 wizard. After completing the wizard and pressing F5, I can see the Add-in in the "Tools - Add-in Manager". The Add-in itself, however, is not shown in the Tools menu. While running in Debug mode, the line : Command command = commands.AddNamedCommand2(addInInstance, "MyAddin4" , "MyAddin4" , "Executes the command for MyAddin4" , true , 59, ref contextGUIDS, ( in ...Show All
