Software Development Network Logo
  • Visual FoxPro
  • Windows Forms
  • Visual Basic
  • VS Team System
  • Visual Studio
  • Game Technologies
  • Visual C++
  • Windows Live
  • Microsoft ISV
  • VS Express Editions
  • Architecture
  • Windows Vista
  • Visual C#
  • .NET Development
  • Smart Device

Software Development Network >> Scrat's Q&A profile

Scrat

Member List

C Davis
JS665
T_Mac
Tailor
perryf_00
Behzad Karim
RonFarley
kamilce
Patdev
jdc_2005
Seggerman
Kirill Osenkov
MikePHall
Ken Courts
AustinStephens
ronfar
dseatovic
Hemanth
Dipsy156323
aaaaNNNN
Only Title

Scrat's Q&A profile

  • Visual Studio Express Editions How to examine HTML from a web page?

    I'm a bit perplexed with this. I've got about 4096 characters that are returned from Webbrowser.documenttext property, but the rest of the page is lopped off when assigned to a string. Any idea if there is someway to get at this information with VB 2005 Express WebBrowser is type web.   Thanks,   Ben   Here's the failing code Private Sub FGSADiscountAutomator_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim WebPage As String If CBoxAutoUpdate.Text = "On Startup" Then WebBrowser.Navigate( New Uri( "http://www.gsa.gov/Portal/gsa/ep/ ...Show All

  • Visual Studio 2008 (Pre-release) Feb CTP, documentation not updated, no config intellisense

    Just so you know, i have installed the last bits and unfortunately although the various samples in the SDK are reflecting the API changes, the documentation is not updated. At least not the topic i looked for. (federation) Also, it appears that there is no intellisense in WCF configuration files. The "List members" doesn't work. In fact it never worked for me even with the Jan CTP. Is that normal -Jonathan Hi Jonathan, I dont know if this is your case, but I suffered the missing intellisense for WCF config files in the Jan CTP. Just after installing it, intellisense was working like a charm. ...Show All

  • Visual Studio property graphical representation

    Is it possible to show an icon on left side of a atributte I mean, in the class diagram expample, classes has attributes and would like to show an icon on the left side of the atributte if one of his properties takes a specific value. Thanks I don't think it's possible out of the box. But you can do this with some custom code. You can write a partial class for the shape and override the paint event of the shape like: public partial class SomeShape { public override void OnPaintShape( DiagramPaintEventArgs e) { base .OnPaintShape(e); e.Graphics.DrawIcon(someIcon, this .A ...Show All

  • SQL Server view server permissions error,view schema permissions erros

    I have already reported these bugs Bug No. 1 : view server permissions error when you click the "view server permissions" link from "Permissions" tab in "Database Properties" this error happend : "TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Could not load file or assembly 'file:///C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlManagerUi.dll' or one of its dependencies. The system cannot find the file specified. (mscorlib) ------------- ...Show All

  • Windows Forms text changed in cell

    How can i catch an event that will fire every time that the user write another letter in a cell. i have 2 columns. 1 of them is quantity and the second one is total. i want, that whenever the user is changing the quantity, i'll be able to calculate the total. any ideas It would be a SQL Expression. Here's a code snipit that ...Show All

  • Visual Basic Auto-generate Properties

    Someone had told me that with VS.NET 2005 you can have have public properties auto-created for private variables.  Is this true   I haven't been able to figure out how to do this. Thanks. Yet another possibility is to use the code snippet "Property".  You can start this via its shortcut by typing "property" immediately followed by hitting the TAB key. ...Show All

  • Smart Device Development The target device does not have a compatible version of the CLR installed for the application you are a

    Error Message: "Unable to load the CLR. The target device does not have a compatible version of the CLR installed for the application you are attempting to debug. Verify that your device supports the appropriate CLR version and has that CLR installed. Some devices do not support automatic CLR upgrade." The Device is running Pocket PC 2003. And has been running programs written with .Net 2003 I just loaded .Net 2005 and ActiveSync 4.1 and created a little test program to deploy onto the hand held. I get the above error. Any help/hit would be greately appreciated. Thanks, Joe If you launch \windo ...Show All

  • Visual Basic questions regarding GUI in VB

    I've got the following three questions regarding VB.NET programming: 1. Is it possible to build hyperlinks in GUI. 2. How to highlight some words displayed in a label or textbox 3. How to measure the time spent in executing the programme and display it in "hour:minute:second" format to the user. Thanks very much. Hi, W. Yuan, (1) Yes – in VB2005, you can use the LinkLabel control. (I don’t recall offhand if that was in earlier versions). (2) Labels and textboxes only have one font associated with them – the only highlighting that you can control directly is the selection (and labels don’t even h ...Show All

  • Visual C# How do I compare time?

    I would like to compare time / do a time comparison.   How would I code: time1 = 8:00am if (time1 < time2) {     //execute some code } You can actually compare two dates using normal comparison operators. DateTime date1 = new DateTime(1999, 12, 1); DateTime date2 = new DateTime(2000, 1, 1); TimeSpan duration = date1 - date2; if (date1 > date2) { // Do something } ...Show All

  • Windows Forms Thumbnail an html page directly from IE programmatically?

    I would like to grab an HTML page from a WebBrowser control and thumbnail it to a picturebox control.  Anyone out there know how to do this    The only way I can see to do this is to use shareware or a commercial product to convert an html page to a bmp, external to the program,  save it on disk and then use GetThumbnailIm ...Show All

  • .NET Development Application doesn't exit

    Hi, my .NET-application uses a .NET-Assembly which seems to create some problems: When I click the X-button of the window of my app, the window hides but the programme doesn't end. I tried to get arount that by using this code: private void MyForm_FormClosed(object sender, FormClosedEventArgs e) { Application.Exit(); Thread.CurrentThread.Abort(); } The Assembly mentioned above works asynchronously and has some events, which are triggered periodically. And this is, why I get a System.InvalidOperationException (Can use Invoke or BeginInvoke only when window handle is created) occurs, when I close the window, when I don' ...Show All

  • Visual C# How to find registered event handlers?

    Hi, I'm trying to determine if an object has any event handlers registered on it. The reason I need this, is to not let an object to register one single event twice. this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // OK this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // Don't let it happen twice   Any help would be great Hi Patrik, and what is here the "anEvent" Is it the event itself or the event handler I just can't call GetInvocationList() on any of events.. ...Show All

  • SQL Server Uploading images to SQL Express

    Hi, Could someone help me on how I can store images into my SQL Table I'm using "Image" as Column Name and I use VWD 2005 Express. I saw a lot of C# examples, but not VB.NET examples. Please help !!!!! Bart Thanks Lars.... can you believe it, I actually figured it out... but I didn't know that there was an auto increment with the ID Key... so I guess I'll go back and take a look at it. I really hate to keep asking questions, but is there a BOOK that helped you learn all this stuff   I did VB6 (Novice - had to use VB4 manuals - VB6 didn't ship with any).  I want to be an expert and not a dummy. As for books, I'm interested ...Show All

  • SQL Server SQL Server 2005 CTE reports wont deploy...

    I am currently using my SQL Server 2005 Developer Edition MSDN disc to create multi value reports demonstrations, and i couldnt be happier with them (Thanks guys! ;-)) the problem is that they wont deploy, giving me the error A connection could not be made to the report server http://localhost/reportserver The attempt to connect to teh report server failed, check your connection information etc. etc  MICROSOFT.REPORTINGSERVICES.DESIGNER Is there a block on 2005 CTE Developer E to stop it deploying reports Thanks for any help offered I am getting this error after reconfiguring t ...Show All

  • Visual C++ Trying to get metainfo sample application to compile

    I am currently trying to get the metainfo sample application that comes with VS 2003.  The application code is located at (for a standard VS.Net install): C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\Samples\metainfo Since I am learning VC++ and the ins and outs of the VC++ IDE in VS.Net (tons of settings I haven't a clue about yet) ... I just can't the application to compile.  Currently I am getting 3 errors, all C2664 'cannot convert parameter n from type to type .  For example: metainfo.cpp(147): error C2664: 'FindFirstFileW' : cannot convert parameter 2 from 'WIN32_FIND_DATA *__w64 ' to ...Show All

©2008 Software Development Network