Scionwest's Q&A profile
Visual Basic how to save a webpage's source code in vb.net?
Hello there, i have this task to get the source code from a given url e.g. you type a url in a text box, press the button and it goves you the source code in a text file or saves it in a memory. I am sure there is some sort of method in vb.net where you can get that and save it in a memory or text file, however it seems that i am not looking in the right place. If anybody knows, could you please give me some info I use visual studio 2005 and win xp pro. ReneeC wrote: "A lot of web site HTML code is generated automatically and is not hard-coded so basically, unless it is a very simple web-site, you have little chance of getting the original code if the site is datab ...Show All
Visual Studio Express Editions Where does the .NET framework put programs?
I wrote a small application in VB Express and installed it on my laptop which runs Windows ME. After installing the .NET framework the application loaded and ran ok. I'm reconciled to the fact that the .NET framework will have to be installed on all my client's computers (even though it took 20 minutes). But the code isn't located in the "Programs" folder. Is this normal Is there any way to have the installer put them there I want to distribute my application from one CD to run under Windows 98, ME, 2000 and XP. Will this be a problem Publication puts programs In an unpronounceable directory in DocumentsAndSetttings Directory of C:\Documents and Settings\Renee\ Local Settings\Ap ...Show All
Visual Studio Express Editions datagridview selected row
hi all..... how can i get the selected row when the user double click on any column of that row....for example there is an item list which display in datagridview......and each record contain multiple atrributes or column......and what i want is when the user double click on one of the attributes, it will return me that selected record... does anyone have a solution in solving this problem thanks Example - to demonstrate general principle. This uses full row selected and verifies the selectedrows collection. If you use a different selectionmode then you may need to iterate through the selectedcells collection which will give you the row and column indexes of the currently se ...Show All
Visual Studio Team System Branching across projects
I'm looking for current thoughts regarding branching across team projects and support where you have common components that live in separate team projects. To keep this "simple" let's assume the following: Common Library projects - each contain a number of projects that are intendeded to be used by multiple "Products" CommonProjectA CommonProjectB "Products" - These are the end products, and each use either A/B or A&B - Each can release together or at different times ProductA ProductB ProductC - "C" agregates and depends on Product A & B of a consistent release Each Product A , B and C each have their own solution file that includes the relavent projects from CommonProject ...Show All
Windows Forms TabControl always disturbed by custom control in same project?
Hi, Using Visual Studio pro 2005, C#. I thought to have discovered a nice IDE feature: Step 1: create a basic windows application. Step 2: add a class to the project. Step 3: have this class derived from System.Windows.Forms.Panel (this is the only manual change you do). The class looks like this: namespace WindowsApplication1 { class Class1 : System.Windows.Forms. Panel { } } That's all. After "Build solution" a new tab appears In the ToolBox called "WindowsApplication1 Components". Great, because now I can drag and drop my on-the-fly control like all other controls. However: Step 4: dragdrop a "Class1" control onto your form (no problem there). Step 5: dragdrop a TabControl onto yo ...Show All
SQL Server SQL Server 2005 can't be added Active Directory, but the documentation says it can.
Hi, I've installed SQL Server 2005 on Windows Server 2003 SP1 Standard Edition. Before I install SQL Server 2005, I've configured Windows to be an domain controller with Active Directory. As the documentation said that using Object Explorer and then selecting Properties, I have the property page of Server Properties. But I still can't find the Active Directory page. When I try to run the system stored procedure sp_ActiveDirectory_SCP, I can't either register or update. Is this an error or bug Using SQL Server 2000, I can easily add it to Active Directory. Now I can't do it in 2005 version. Please help! Eriawan It's been more than 1 month and I still can't get a satisfactory answers. I have dow ...Show All
Visual Basic PictureBox.Cls to GenericList and Panel control equivalent
vb6 GraphicsPane(i) is a control array mechanism comprised of PictureBoxes. GraphicsPane.Load(1) GraphicsPane.Load(2) GraphicsPane.Load(3) GraphicsPane.Load(4) Call MainDisplay_Init(GraphicsPane(iPane).Handle.ToInt32) 'graphics engine needs this Private Sub ClearCurrentDataSelectionInPane() GraphicsPane(iPaneCopy).Cls 'Clears graphics and text generated at run time from a Form or PictureBox. vb.net a generic list is being used for tracking the "GraphicsPanes" (now called GraphicsPanels to be named after the Panel controls which are the containers whose handles are passed to the graphics engine. Public GraphicsPanel As New System.Collections.Generic.List(Of Panel) GraphicsPanel.Add(Me.PanelDrawingLe ...Show All
Visual Basic passing a function's name to another function (or sub)
Dear all when programming in FORTRAN I was used to pass the name of a function to another sub or function. With VB.NET I have some problem. Suppose I have several functions, named F1,F2, F3,.., and that I have to perform some common task on these functions (for instance numerical integration). Well, I wish to manage things in such a way to have a library function or subroutine (to do integration) and to call it passing various parameters 'and' a function name ( e.g. F3 ) to perform the integration of F3 . In other words I wish something similar to this fragment of code to work (declarations and initialization omitted): module main integ1= integration(a,b,step,F1) integ2= integration(a,b,step,F2) end module m ...Show All
Software Development for Windows Vista sugession
i think there sould be some thing like windows logo at bootup screen ...Show All
Visual Studio Team System Checking in Solution not including all files
I'm using VS2005 Team Edition for Software Developers, and using TFS for version control. Often times when I do a check in at the solution level not all files get checked in. Some of the project files and some code files in the projects still show the "checked-out" checkmark symbol in my solution explorer. If I right click one of those files, There is no "check in." option on the menu. If I check it out, then check in, it works and the checkmark is replaced with the lock icon. I can't figure out any pattern to this, it just seems to be checking in some files and leaving others checked out. This is happening on some of my co-workers machines as well, and its creating a lot of confusion when we are developing as a t ...Show All
SQL Server Noob having troble with group by etc.
Well i guess it is a bit more than just group by but here we go... General description :( background info on the problem; may or may not be needed) I am trying to get a list of active card holders for a particular month. A card holder is considered active if their status was active any time during that month. I have a card holder status in my CardHolder table but that will only give me their current status. I also have a CardHolderHistory table that saves any changes to a card holder including their status. Using the CardHolderHistory table i can find out who was active for any month in question by using the following algorithm: A card holder is active if they meet one or both of the ...Show All
Visual C++ CreateThread vs _beginthreadex
Hello. There is a hot discussion on one Russian developers forum about correct threads creation. _beginthreadex is more correct way because it initializes CRT for the newly created thread. But there is one great "BUT"!!! For example we have any callback function which uses CRT (like an exported function from dll). This function could be invoked from any thread including threads, that was created via CreateThread (i.e. CRT was not initialized for this thread). So this call can cause an undefined behaviour! But there is not way to determine CRT initialization status and initialize CRT manually It looks like a potential source of great troubles. einaros wrote: Alexander Stoyan wrote: ...Show All
SQL Server SRS 2000 report usage logging
I need to determine how often our SRS reports are being used. Is there any internal metric I can set and then check to find this out We have a lot of reports and want to find out if some of them can be deleted for low usage. I understand SRS 2005 might have this capability but I have heard there's a way to do this in SRS 2000 as well. If there is nothing internal to SRS 2000 that will do this, I wonder if anyone else has written some code to do this or has some ingenious method! Thanks for any help! Hi, Both the 2000 and 2005 version use log files. These log files are quite difficult to read. Therefor, Microsoft has created a DTS/SSIS package that extracts information from the log files a ...Show All
Software Development for Windows Vista filter as streaming server
Hi, I want to develop a streaming server (for, say, .ts video files) to be used in a lan. Is there a sample filter I can start with Will be grateful for any suggestions. Regards, pcd. ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. The error appears to be a web page error I copied what was displayed for the error Line 56 Char:2 Error 'windows.external' is null or notan object Code O URL:http://runonce.msn.com/runonce2aspx ...Show All
