wking1994's Q&A profile
SQL Server system.NullReferenceException error
Anyone encountered this error message when trying to access Report Server - One of my IT people simply added a new (permission) group to Report Server and everything crashed. I get the following error when trying to open the default server page ( \\servername\reports ): System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference no ...Show All
Visual C++ How to access a database
Dear All, I am new to Visual C++ 2005 and I would like to write a network application that uses native win32 C++ and that stores and restores data to and from a different databases (depending on the setup). I am planing to make this application portable to be launched and executed on both platforms Windows and Linux. My question is that is there a generic iterface that enables me to connect the C++ application to an ORACLE or MySQL databa ...Show All
Windows Forms how to "remember" my drawn graphics
hello im using the graphics class to draw some stuff on a form. Graphics Draw = this.form1.CreateGraphics(); Draw.FillEllipse(Brushes.Red, Circles); something like that. But once the graphic is drawn and i move another form over, it disappears. so how can i keep my graphic display all the time. Thank you Just to expand on what Peter says, it's almost always a bad idea to draw stuff the way you're doing it. Avoid ...Show All
Visual Studio Replacement Disk - Visual Studio 6
How do I obtain a replacement copy of Visual Studio 6 Necessity dictated that U reformat my hard drive. When I tried to reinstall VS 6, i discovered that the 1st disk was damaged. I have the original box that it came in, but not the sales reciept. A couple of years ago, my office developer disk got scratched. MS sent me a new disk for the price of the media, US$5. Give sales support a call. ...Show All
Windows Live Developer Forums Anyone have it working with w.blogger?
I followed the instructions in Carnage4Life's blog but I keep getting: Title: w.bloggar: 12029 Message: The attempt to connect to the server failed. Alright I resolved the issue. It was my fault, apparently the Microsoft OneCare Live! firewall was silently blocking me. I logged out of my normal user account (which does NOT have admin rights) and logged in as administrator and repeated the setup steps and t ...Show All
Visual Studio Tools for Office HtmlBody problem's
Scenario : VS2005 OUTLOOK 2003 inside a MailItem I have a commandbar with a button. this button have the following code on click event : Private Sub _mailButton_Click(ByVal Ctrl As Microsoft.Office.Core.CommandBarButton, ByRef CancelDefault As Boolean) Handles _mailButton.Click Dim posizioneBody As Integer = m_olMailItem.HTMLBody.IndexOf("<body") Dim posizioneChiusuraBody As Integer = m_olMailItem.HTMLBody.IndexOf(">", posizioneBody) m_olM ...Show All
Visual Studio Team System how to clear the cache in a web test?
hi, all For some reason, I have to clean cache during every time running web test cases, does any one know how to do that please help me . Thanks very much. The cache simulation in a web test is automatic, and is only kept in memory, so you shouldn't need to clean up the cache between web tests. Are you running the web tests in a load test or just running individual web tests What problem or files are you seeing that you ...Show All
Visual C# WinServices on Windows Server 2003 and Framework 2.0 Beta
Are there any known issues deploying windows services to server 2003 with the 2.0 Beta redistributable framework I have win services that deploy great to XP boxes. They'll install on 2003 but timeout when attempting to start, manual or automatic. Application Event Log: EventType clr20r3, P1 fopqueue.exe, P2 1.0.0.0, P3 43441dd6, P4 system, P5 2.0.0.0, P6 425750b1, P7 3327, P8 84, P9 system.argumentexception, P10 NIL. System Event Log: ...Show All
Windows Forms Canceling DataGridView Selection Change
I want to be able to cancel a row selection in a DataGridView under certain circumstances but there doesn't seem to be an event that allows me to catch the selection change and cancel it, as there is when a user tries to delete a row. Am I missing something No, there isn't any event to cancel row selection. Assuming you have FullRowSelect, you'll need to override SetSelectedRowCore and not call base for ...Show All
Windows Forms Connect to Yahoo search
hi is there a way that i can send a word to yahoo search from my application and get the results displayed on my application thanks Yes, but depending on how you wish to use the service it might be a viable option. I&nb ...Show All
Windows Forms Determine if a MenuItem is on MenuBar
Hai ....., I have designed a User control, a custom MenuItem, that is inherited from MenuItem. Now when the user adds my MenuItem to the mainMenu1 (MenuBar), I don't want to do anything to my custom menuitem control and leave it to its default behaviour. How can I determine that my custom menuitem control is on the menubar or not Regards, Hemant You could actually change that line t ...Show All
Visual Studio Team System instance field naming convention
In the following code sample, class TestClass { private int age; public int Age{ get {return age;} } } If I decide to use Age for the public property name, what is the recommended naming convention for the related private instance field Any comments are welcome. Microsoft does not provide naming conventions or guidelines for internal members, however, I have seen the following use ...Show All
Smart Device Development Does ActiveSync download proxy server settings?
I was troubleshooting an issue where a handful of mobile device users (WM2003/ActiveSync 3.8 over serial cable) were unable to access intranet/internet sites from PIE. I discovered that the devices that were having problems had a proxy server defined on this screen. This is a problem for me because my users move between networks and a given proxy server is almost never valid. My questions are: How did this happen Does ActiveSync au ...Show All
Visual Basic Regular Expression: Removing All Lines NOT Containing a Specific String
I know how to remove all lines in a file that contain a specific string using the IDE Find/Replace dialog and Regular Expressions For example, to remove all lines in a file containing the string ABC, you can use: Find: ^.@(ABC).@$\n Replace: (nothing) What I'm trying to figure out is how to do the opposite and remove all lines NOT containing ABC. Any ideas Thanks. I believe this regu ...Show All
Visual Studio 2008 (Pre-release) How to declare a style for a border?
Hi, I would like to translate the style attributes in CSS, like: "dashed , dotted, double, groove, inset, outset and ridge" to my border in XAML. I couldn't find a property in the border class for this, only the Tchickness property and the BorderBrush. Is there an easier way to translate this Thank you!!! ...Show All
