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

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

GRK

Member List

RobLearningVisualBasic
Tsayers
Simonth
Phil Rogers
Thomas Olsson
MaggieChan
JLesch
Luis Esteban Valencia MCP Web
Jiajia
Leebert
Ilya Tumanov
cmfairbank
foomunchoo
lordJapheth
Bosse G
jackwc
David S. Anderson
Missis Crystal
Leo Fi
manuel0081
Only Title

GRK's Q&A profile

  • Visual Studio See lines

    Hi sorry if this is in the wrong forum where can i in visual studio say that i want to see the numbers of the codelines regards alvin Hi Alvin, Tools menu => Options... => mark Show all settings => under Text Editor select All Languages then select General => Mark Line numbers (under Display ). Hope this helps. ...Show All

  • Windows Forms Windownmediaplayer component versus disable control?

    I have a datagrid control and named "dg" and windowmediaplayer component name "wpl"; in form1_load event I wrote { this.dg.visible=false; } but in fact my datagrid still visible and if I try to right click tit's context menu I will got and  error about the datagrid is not visibled to do that. so how can I set this datagrid. visible=false and I see it nowhere in the form Thank for any help DongMT Im working with C# ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. retrieving data from gamecomponents

    Hi all. I'm hoping someone can point my confused self at the (probably simple) solution to my problem. The only way I can find to access information from added components (Components.Add(myCoolComponent);) is to create myCoolComponent as a 'global' object in my main game. I wouldn't feel so bad, though it _seems_ like a good way to use up RAM, but if I need to find myCoolComponent.position in an instance of a class I'm forced to pass the original copy of myCoolComponent around all the time; and that can't be good. What I imagine I'm looking for is something like: game.Components.myCoolComponent.position. //confused! You could consider publishing a service from your component ... if ...Show All

  • Visual Studio 2008 (Pre-release) How DLINQ Track Changes

    Would like to know how DLINQ track changes. a bit confused after play around a bit. What im trying to do is to keep a Table in memory for updates. changes are only submitted to DB when necessary. but my updates need to be viewed/requested before submit to DB. it is something like memory table. The esiest way i thought is to use Table < M yTrack > , but when i tried it, i can't see the changes reflected locally unless i do db.SubmitChanges() I have tried to use private List < MyTrack > myData; myData = db.MyTracks.ToList(); with this, i have no problem to do any updates and see the changes locally without affect the DB. but in this way, i have write my own SubmitChanges as i need to map List < MyTrack > ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem creating a render target.

    I'm just having issues because I'm trying to create a render target with a surface format of RGBA5551 is it unsupported With SurfaceFormat.Color it doesn't raise an exception, so I'm guessing it has to do with that. Surface renderTarget = this.graphics.GraphicsDevice.CreateRenderTarget( 1024, 512, SurfaceFormat.Bgra5551, MultiSampleType.FourSamples, 0, true); Am I doing something wrong here do I need to prepare the device first I don't think it's that my vidcard doesn't support it since it's a Geforce 7800GT... Well, any answer would be greatly appreciated. Neither nVidia nor ATI hardware supports everything. That’s the reason why Direct3D 9 ...Show All

  • .NET Development How to bubble exception from background thread to main thread?

    Hi, I'm having a problem with background tread throwing unhandled exception and it never bubbles up to main thread. I have been told to put background thead into try catch block but this still does not work as it's never get's hit. My code is below. I did not think it'll ever come to this but I really want my main thread and application to crash so I can see error being thrown by background thread. try { this .backgroundWorker1.RunWorkerAsync( ); } catch ( Exception ) { throw ;} You misunderstood me. The exception handler should be in the function which runs on the other thread. You are doing this in the UI thread, which leaves the try block quite fast. You never spoke of the Backgrou ...Show All

  • Visual Studio Tools for Office No service pack for VSTO 2005?

    Using VSTO 2005. We installed the SP1 Beta, installed no problem. The RTM verison of SP1 for Visual Studio 2005 will not install on VSTO 2005. VSTO is not listed as having an SP release, only Team Ed. and Prof. Was there no SP released for VSTO Does anyone kow any reason for this Especially since we were able to install the beta versionit does not make much sense. Help Thanks Hi... Im using Microsoft Windows Server 2003, Enterprise Edition SP1 with the following VS info after installing VS80sp1-KB926601-X86-ENU.exe with no errors and finished successfully. Why does it not say SP1 Thanks, BillB My Dev Studio minus the keys looks like this: Microsoft Visual Studio 2005 Ver ...Show All

  • SQL Server Need help in migrating from Access to SQL express

    Hi there, I am totally new at SQL/SQL express.I have downloaded the sQL express server and wanted to know how i can go about exporting my tables which i created using MS access into SQL express. Also my application is currently working by using Access and ASP...what will be the changes i would need to incorporate in my code other than the queries and Data connection string. How would the data connection string in SQL look like if i am using it in my asp code Any help or useful links would be a very good help! thanks in advance smita Try the SQL Server Migration Assistant. http://www.microsoft.com/downloads/details.aspx FamilyID=d842f8b4-c914-4ac7-b2f3-d25fff4e24fb&DisplayLang=en ...Show All

  • .NET Development code for html to pdf conversion

    hi all, I wants to convert html to pdf document in c#, code for that..... Hi, You can perform the conversion without installing any printer driver. You can try the html to pdf converter library from winnovative software or from dotnet-reporting.com . The conversion requires only a few lines of code: Code Snippet PdfConverter pdfConverter = new PdfConverter(); pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait; pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal; pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true; pdfConverter.PdfDocumentOptions ...Show All

  • Internet Explorer Development bypass or supress print dialog box

    Hi! I'm developing this web aplication for an intranet where the user can print a list, I want this to be automatic, I know I can do so by using a java script, but then I was asked to avoid the browser to show the printer dialog box so the printing process would be much more faster and easier for the user; I found some info about this in a forum ( http://www.codingforums.com/archive/index.php t-224.html ) and I understand that acording to this site what I want could be posible in former os and ie versions but not in the new ones with updates (and I understand why). My cuestion is; Is it true that supressing or bypassing the printer dialog box by an script isn't posible and if so maybe someone can point me out to a ms oficial article rel ...Show All

  • .NET Development Whats the difference beetween an struct an a class?

    Whats the difference beetween an struct an a class http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vcrefvaluetypes.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcn7/html/vbconvaluereftypes.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconvaluetypeusageguidelines.asp Best regards, Johan Stenberg ...Show All

  • Visual Basic How do I add a TextBox to read from a special coloumn...

    How do I get a textbox to read data from the BindingSource, like the one you see in My Movie Collection Starter Kit. Do you see the small DataBase icon next to the property Text of TitleTextBox. How Do I get to do my App that. I have a Database connected. I have a good one to solve.. I created a database to store values. On my form i have multi textboxes to represent each of the database values. The intent is to change the value in the textboxes thus changing the database. There are twelve rows and twenty five columns. Please, how can I make the textboxes update the database and at the same time display current database info. I only seem to get the data to display in one row meaning... a textboxe should only point to one reco ...Show All

  • Visual Basic Question in adding item in ContextMenuStrip

    Hello I have two questions about ContextMenuStrip: 1- I want to add items by using code. But I want when I click on it, an action happens Look at this line: ContextMenuStrip1.Items.Add( "Close" ) I want when I click on Close, end the program using ( End ) How can I do it 2- How can add separator using code   Thanks I found this code and it works but I need someone tell how to work. I didn't understand how to work. Friend WithEvents nimenu As New ContextMenuStrip Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load nimenu.Items.Add(CreateMenuItem( "Show" )) ...Show All

  • Smart Device Development how to minimize the form?

    how to minimize the form. and develop platform is c# .net cf hi JR I have tried Form1.Visible = false; Form1.Refresh(); when I type Form1 dot , in the list of the Form1, there are no Visible and Refresh() appeared. Why Thank you ...Show All

  • Visual Studio Index of MSDN for Visual Studio 2005 incomplete

    Hi, Recently I found that the index of my MSDN for Visual Studio 2005 was incomplete. I typed in "LoadTypeLib" in the index, but only the result for Window CE 5.0 was found. At first I thought this function was cut off (!) in Microsoft's favor of .NET, but after comparing with the result of MSDN for Visual Studio 2003, it turned out that it was still under "Win32 and COM Development -> Component Development -> Automation -> SDK Documentation -> Type Description Interfaces -> Overview of Type Compilation and Library Functions". I also saw the document content for this unindexed function started with a weird hollow black box, and it was the same with some other unindexed items. I tried what Mike C ...Show All

©2008 Software Development Network