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

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

dbdog

Member List

raj.ramesh
Scott Ha
luca82
Tony_NTFY
twaltz
RJBriscoe
BhuttCrackSpackle
JosKoenis
KenRW
tenchyz
papadi
nbrege
Galbatronix
Gulden
John Padilla
Stuart Robinson
Captain Baz
nature0276
xshua
bluejay_2006
Only Title

dbdog's Q&A profile

  • Visual Studio Express Editions Efficiency of File.ReadAllLines

    I found the following code example demonstrating the method File.ReadAllLines: foreach(string line in File.ReadAllLines(string filename)) {.....do stuff....} Question: How efficient can this be Will the file actually be opened, completely read and closed for each iteration Moreover, one can even do this: string line = File.ReadAllLines(string filename)[int i] to access line 'i' in the file. But again, will the complete file be read and closed or will the function stop after reading line i An alternative for my application is to declare a string array, read all lines into it and process from the array. Is there a way to do this without knowing the number of lines in the file (and therefore the size of the array) Any downside to just dec ...Show All

  • Visual Studio Integration between Visual SourceSafe 2005 & Microsoft SQL Server 2005

    Hi; I would like to know if i can Configure VSS 2005 to work with Microsoft SQL Server 2005 Best regards, Nancy, I think that I misunderstood your original post. You asked if you could use VSS 2005 with SQL Server and I thought that you meant the development of SQL Server applications and Stored Procedures. However, it is clearer to me now that you want to use SQL Server 2005 as the storage mechanism for VSS 2005. The answer to that question is no. VSS cannot be configured to use SQL Server 2005 as a storage backend. VSS has it's own storage mechanism for version tracking. I am sorry but there is no way to configure the VSS fontend to use SQL Server on the backend. Thanks, Karl Hilsmann Visual Studio Develop ...Show All

  • Visual C++ Newbie question about classes

    Hi, this is the declaration of a class for handling matrices. http://doc.coin3d.org/Coin/classSbMatrix.html In this way i create an object SbMatrix: SbMatrix a=(1, 2, 3, 4, 5, 6, 6, 3, 5, 6, 6, 6, 5, 6, 3, 9); How can i print the content of that matrix and How can i give values to each one of its components no, he was right the array has 16 elements, and is zero based, so it has indexes 0 through 15. you need to use either of these two lines: [code] for(int i=0;i<16;i++) for(int i=0;i<=15;i++) [/code] (i personally prefer the first one, but either one is correct) ...Show All

  • Internet Explorer Development Data Exchange between IE and Office 2003

    Hi, I would like to access from MS Word 2003 a Web browser page such as Internet Explorer which is running at the same time on the client machine. Or generally speaking, how can I see and access with .NET applications running on the client machine And is there a method or propery which will allow me to examine the CURRENTLY SELECTED link in a seperate running instance of Internet Explorer Thanks for help! Claudia ...Show All

  • Visual Basic Find And Replace Command Not Working?

    Good day! My Find/Replace Edit Menu command inside VB 2005 is not working anymore, and SQL Server 2005 as well. When I tried to check this feature in Microsoft Office applications, there is no problem at all. It's mysterious, I don't know what happen. I also tried to re-install VB and SQL, but still it didn't work. I know it is a petty problem, but it plays an important role when editing your codes. Please help. Thanks Hi there. I had also posted this problem earlier...found the answer on a different forum. I've had this happen in all visual studio 2005 apps. What seems to be happening is that the find/replace window is there, it's just 'almost' hidden. Drove me nuts. Look around the very edges ...Show All

  • Visual Studio Express Editions save bmp to clipboard as png

    I have a form that makes a bmp. I use this Clipboard.SetImage(mBmpDest) to save it to clipboard then paste it to a word etc doc. However am finding bmp file size is to big. Was wondering how to convert it to a png. No examples on forums. I tried using imageformat, convert but no go. any ideas I made a little app that has a canvas I draw on using mouse. the picture is called mBmpDest. When I am done drawing I copy it to clipboard. then I can paste it into my word document. Since I make it as a bmp it pastes from clipboard as a bmp. I dont save it to disk at all. I had read that vs 2005 suported other formats besides bmp. since this is a line drawing wit ...Show All

  • Visual Basic Sub Main in Mainform.vb never getting called.

    If I create a Sub Main in my app, the app never calls it. No breakpoint hit, no Messagbox shown. Thanks for any ideas. -greg MainForm.vb Friend Class MainForm Inherits System.Windows.Forms.Form Sub Main (ByVal cmdArgs() As String) MessageBox.Show("main") End Sub End Class MainForm.Designer.vb Partial Class MainForm Inherits System.Windows.Forms.Form hazz wrote: The reason why why want to use sub main it is to put control instantiation code prior to the forms initializecomponent. Ok....if you ned to use the framework then create your sub main in a module like abouve and then call it as the first line of code in your init sub: Private ...Show All

  • Visual C++ C++ based MCSD using .NET

    Is there an c++ exam to finish the MCSD   I only see VB and c# There was a beta exam for C++/CLI some time in February 2006, but I can no longer find any info on this exam. Is Microsoft going to release it as a credential for MCPD, or not Thank you. ...Show All

  • Visual Studio 2008 (Pre-release) ContextMenu renders slow in Vista

    I have an old WinForms notifyicon in the tray and when i click the icon i open a WPF contextmenu at the position of the mouse. In the contextmenu i have about 10 subitems with about 20 subitems each. When i open one of the first-level menus i animate the height of its subitems to create a nice slide-in-effect. On Windows XP this works fine, the animations run smooth without any problems. But on Vista the framerate on the contextmenu realy is crap(i estimate it's around 5-20fps). Only opening the menu without any animation takes 1sec, on XP this is instant. I've tried with both DWM activated and deactivated and it's the same problem in both cases. I've also checked with perforator and it says 0 software renderers.   ...Show All

  • Windows Forms Non background image on a label.

    I want to show a little graphic directly to the left of a piece of text in a windows forms applications. The System.Windows.Forms.Label control seems like the obvious place to go for this... I create my Label control and set the .Image property to my image and set the ImageAlign property to MiddleLeft. Unfortunately, the image is underneath the text... not adjacent to it... not exactly what I wanted. (Nor what I expected since other controls, like Panel, call the property BackgroundImage if it is going to be painted under everything else). Then I think... no problem... the same thing happens in System.Windows.Forms.LinkLabel, and I know the solution. I am using a 16px image, so I set the left padding on the Label to be 16. (This works f ...Show All

  • Visual Studio 2008 (Pre-release) Browsing Service Hosted

    Hi everybody, In my learning of WCF i have again a question. I want to make an "monitoring" of my application server (services hosted). By monitoring i want to say it's just a method into a service that can connect to each service hosted on this instance. So i just want to browse all my service running. Eg ( this a very bad approch i know but i think this is the best eg that can i explain : public void BrowsServices() { foreach ( host h in HostedList) foreach ( Service s in ServicesList ) s.IsRunning } Is it possible to make this and if yes how can i do Thanks for your help, Nicolas Hello, Thanks a lot for your reply. It's a great idee and i have already tought about ping call. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Maybe I'm an idiot

    First, for some reason I try to use spacewars and after I have the menu open it will not work with my mouse or my keyboard. Also is there supposed to be any graphic editors that come with xna Sorry to waste peoples time, Thanks in advance, Cody and your other question. No there are not any graphic editors with XNA. XNA is about programming. Use your favourite 2d and 3d art packages and when the next release arrives there will be ways to import those in. ...Show All

  • Windows Forms Displaying Outlook Signature through coding

    Hi, I creating mails using outlook api creatmail, the mails are sent properly but the signature is not set. I want the signature to be displayed while sending mails.Is there any way we can do it. Thanks & Regards Ajay ...Show All

  • Windows Forms Problem with OneClick Deployment

    When I publish my application to the web, and then try and install it, insteadof it instaling I just get a page of XML displayed. I have done a simple project (a button on a form) and tried with this and it does the same, See Here . It works fine if I publish to a local or network folder. I have tried everything, with no luck, so can any body help. Hi Chris-M I have the same problem with some of my clients. I have tried to change my .htacces but maybe I am doing something wrong. Could I have (if possible) a copy of yours About the location.... I believe it is in the root of the /httpdocs Best regards Pike ...Show All

  • Visual Studio 2008 (Pre-release) How do I intercept HTTP communication between a WCF client and a generic web service?

    How do I intercept HTTP communication between a WCF client and a generic web service in code If you prefer to use a tool like TcpTrace to intercept the messages (as opposed to using the message tracing facilities in WCF), you can insert a via element in your client configuration: http://www.winterdom.com/weblog/2006/04/17/RedirectingThroughTcpTraceWithWSEAndWCF.aspx ...Show All

©2008 Software Development Network