Software Development Network Logo
  • Windows Vista
  • Visual C#
  • .NET Development
  • Smart Devicet
  • Microsoft ISV
  • Visual Studio
  • Visual C++
  • Audio and Video
  • SharePoint Products
  • SQL Server
  • Windows Forms
  • Game Technologies
  • Visual FoxPro
  • IE Development
  • Visual Basic

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

omniGames

Member List

Jagdeep Sihota
rternier
Ayooya
Kamii47
Liam404
hsndds
KrazyKevin
Saurabh_Mathur
jianghongtu
dakota367
Kaisor
Tom B
TillmanJ
Antonio Neeves
Aleksandr Tokarev
mgee16
Species2175
dnzone
Chidu
RussP
Only Title

omniGames'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. Hi, 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 database driven using ASP ( active serv ...Show All

  • Visual Basic Fill bound combo

    Still havent fiqured this one out yet. Say if you have a combobox that is bound, and you want the drop down to contain data from another tables column. How do you do that Davids Learning To add new items, you would need to add them to the datasource that the control is being bound to and not the combobox directly. So if you are binding to a datatable - then add the items to the datatable and they will appear in the bound control. Binding to a datatable/dataset is not a problem as this is a local copy of what may be a retrieved from a database, as long as you dont run an tableadapter update method with this dataset these addition wont be persisted back to the database. ...Show All

  • Visual Studio Team System What are all these counters?

    Is there a resource anywhere that defines exactly what any of the counters available in VSTS 2005 are Something that would help me understand for example, the difference between Avg. Response Time (LoadTest:Request) and Avg. Page Time (LoadTest:Page) In other words, what kind of response does the first counter refer to if not a page load response Perhaps it's an average of the response times of every page, gif, style sheet and tab slice... But I'm speculating. Is it Some others, Avg. Test Time (LoadTest:Test), Tests Running (LoadTest:Scenario), Failed Tests (LoadTest:Test), and Tests/Sec (LoadTest:Test) What exactly is meant by "test" here A webtest or coded test An ordered test A load test One user/iteration of any ...Show All

  • Visual C++ Compiler bug?

    // Compiler Bug Example.cpp -- produces incorrect output in Visual Studio 2003 and 2005 for me // clay.s.douglass_at_intel com // #include <iostream> using namespace std; #include <conio.h> class VAddr { public : unsigned structure:5; unsigned offset:29; }; typedef union { struct { unsigned cmd:2; // 0 = write, 1 = read, 2-3 reserved unsigned reqId:5; unsigned lenCode:2; // 1 = 8 bytes, 2 = 16 bytes, 3 = 32 bytes, 0 = reserved; VAddr va; }; unsigned long long ll; } MemCmd; typedef struct { unsigned reqId:5; unsigned long long data; } MemData; int main() { //int i=0; MemCmd writeCmd = {1,2,3, ...Show All

  • Visual Studio Express Editions How do I change the starting point and size of a bitmap?

    I've been having a problem, I can't seem to change the size of a bitmap and change the starting point, for example if I had a bitmap with two people one and I want to cut one off and just have one. I'm not good at explaining things, I hope you can help. ;) Try using Bitmap.Clone(Rectangle, PixelFormat). Say you'd want the person on the right half: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim bmp As Bitmap = New Bitmap("c:\temp\test.bmp") Dim clipx As Integer = bmp.Width \ 2 Dim newbmp As Bitmap = bmp.Clone(New Rectangle(clipx, 0, bmp.Width - clipx, bmp.Height), bmp.PixelFormat) newbmp.Save("c:\temp\test2.bmp") ...Show All

  • Windows Forms Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

    This is throwing me for a loop. I have a modeless form open with a richtextobx. I am using FileSystemWatch to monitor changes on a text log file. When changes are found I check to see how much the file has grown, and then read and append the new portion to the RTB. The log watcher form comes up, does its initial paint (which is NOT driven by FSW) all is OK. Some moments later when the log file first changes, and FSW gives the event, I marshal it back to the GUI thread for updating the RTB, but get this odd error. I have done this pretty much already in previous VS.NET without a hitch. As far as I know my window handle has been created at the time I call "Me.BeginInvoke" in the FSW event on the form, so what exactly is this trying to tell m ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render transparency with shaders

    Hi All! I'm in the beginning of shaders programming. I've two shaders that renders two meshes with some nice textures effects This is my great render queue: setEffect1 drawindexedprimitive setEffect2 drawindexedprimitive Cool. Now, i want the second drawindexedprimitive to draw the mesh at the half of opacity, over the first mesh rendered with Effect1. Have i to modify Effect2 so that it supports some kind of alpha blending transparency Or is there some magic setrenderstate bunch of commands that do the trick Thanks in advance Hi guys, thanks for your answers. I have to modify my pixel shader that is: float4 hotPS(vertexOutData IN) : COLOR { float2 nuv = float2(IN.Color0.x,0); float4 nc = tex2D(Grad ...Show All

  • Software Development for Windows Vista WF Designer - How to display full Activity Full Name

    Hi Dear, I would like to take a print screen of my WF Design to document my work but when the activity name is long then the WF Designer cuts the end of the name and replace it with dots (e.g., receiveCustomerOrder is displayed as receiveCustomer...). It would be nice if the WF designer allows adjusting the size of the Activity shapes (just like controls in a WinForm) but unfortunatly it does not. The shape size is fixed. Could you please advice on how to get the WF designer to display the Activity Full Name How can we resize the Activity shape (I hope that I wouldn't need custom activities for such simple feature) Thanks Karim This feature (ability to resize/auto-adjust Activity shape) ...Show All

  • Software Development for Windows Vista Security token without authentication

    Hello, I would like to know if it is possible for the user to use a managed card (get a security token) without requiring the user to authenticate himself Thanks for your help, Hi, All managed cards in CardSpace v1 require some authentication. We’ve had some discussions about being able to do token retrieval w/out authentications, but haven’t come up with a very compelling usage scenario, since it would allow anybody to retrieve the token from the endpoint, thus losing any association with a particular user. The easiest auth mechanism (from a usability perspective) is to use a self-issued card to back the managed card. The self-issued card is automatically selected, so just needs to select the managed card. If you ( ...Show All

  • Visual Studio Visual Studio 2003 uninstall

    Hi, I've had Visual Studio 2003 for a while, but have now got Visual Studio 2005 Beta 2. I don't have enough space on my system drive, so I need to uninstall Visual Studio 2003. When I try, it says "Setup is unable to determine a valid ordering for the installation. See the error log for further details". I don't know where this error log is. I have tried repairing prior to uninstalling, or uninstalling the components, but I still get the same message. Does anyone have any ideas Is there a way to tell the installer what to uninstall - I did a full install originally as far as I remember. Many thanks, Jonathan Stratford dpecharroman and Krystan, Please take a look at Aaron's blog.  At the pointer b ...Show All

  • SQL Server Setting up Client PC to access remote SQL Server

    Hi, I am a VB6 programmer and I'm really new to SQL Express, I have always used ACCESS because it was so easy to deploy. I've now written a VB6 program which uses SQL Express and I want to know how to deploy it. Basically my PC will host the SQL database as it has SQL Express loaded onto it. I now want to install my EXE onto other Client's PC and have them read/write to the database on my machine. Besides the EXE program, what software do I need to load onto the Client's PC so they can access my SQLExpress database... (eg: Net Framework, SQLExpress, etc). Also, if my machine is called ABC123, in my connectionstring do I just put in ABC123\sqlexpress as the datasource.. . Will this be enough for the other PCs to connect to mine ...Show All

  • Microsoft ISV Community Center Forums [Excel] How to convert Excel to jpg, gif image?

    How to convert MS Excel to jpg or gif and paste/insert to MS Word thank you very much     If I understand your question, here is how I would go about it: 1. Highlight the portion of the Excel sheet you want to copy 2. Hold down Shift and click the Edit menu. 3. Click Copy Picture (us two defaults selected) 4. Paste into Word Hope this helps. ...Show All

  • .NET Development How to read Assembly Level attributes of asp.net 2.0 project

    Hello, We are converting our project from 1.1 to 2.0, and we are using reflection to retreive the Assembly version and present it in the UI. Due to the new compilation model, the existing code does not work. Is there a way to do this in 2.0 Thanks for your input Hi, I am not sure what attributes are you after, but if you want attributes like version number, languate,...etc. have a look at the FileVersionInfo . GetVersionInfo Hope this helps. ...Show All

  • Visual Basic OpenFileDialog Question

      I have the following code written for the opening of a BMP image from the File...Open on my menustrip. Private Sub OpenToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click OpenFileDialog1.Filter = "Image Files (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog() = DialogResult.OK Then Dim fileName As [String] = OpenFileDialog1.FileName End If End Sub   I tryed it out and it worked, but i have a small question.....How can i change the default name that appears in the file name of the window browser It is set to "OpenFileDialog1" How can i change it to an empty space   EDIT: I just added a picture ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Creators Club without Xbox Live?

    Is it possible to subscribe to the XNA Creators Club without holding an Xbox Live subscription XNA is not just for Xbox development, it covers Windows too. And for me, running an XNA game on Xbox is secondary to obtaining access to sample games (e.g. XNA Racer) and game assets (I'm a developer, not an artist). I'm very keen to work with XNA, and I'm happy to drop $100 on it, but I'm not keen to purchase an Xbox 360, Xbox Live silver subscription AND Creators Club subscription. Any insight is appreciated. Regards, Chris Nope, this isn't supported as this time because the only way to register is to input the registration code when you're logged on using your xbox. However, I think that once the XNA Racer co ...Show All

©2008 Software Development Network