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

Software Development Network >> Evil Booger's Q&A profile

Evil Booger

Member List

hooman.tadbiri
TcoUpLoad
Ramkumar S.N.
Magannahan Skjellifetti
StefanPe
JPP
Genesis_85
marieMyers
Jurgen
naveen.jaikumar
brijesh patel
Jason Doucette
Charles Caruana
Thomas Thayil
SimonY
Phil D Wilson
veronique
RicoIT
alex.knights
Jimdbc-LLC
Only Title

Evil Booger's Q&A profile

  • Visual Studio 2008 (Pre-release) Method not allowed

    Hi there! I have posted a question regarding Windows SDK before but it seems that the error was ocurring only when I try to install the documentation and the samples. So I excluded that and the installation complleted. Anyhow, I am facing strange problem now. I am using HelloWorld example (for Indigo) explained in msdn library and every thing worked fine until the exceution of the client. It halts once it tries to call the method in the server returning the following error: The remote server returned an unexpected response: (405) Method not allowed. Anyone faced a similar problem I appereciate any help Regards Salman ...Show All

  • Windows Forms Keeping selected rows when sorting a DataGridView?

    How do I keep my selected rows in a DataGridView (SelectionMode = FullRowSelect) when sorting the content Let's say I've got 3 rows (with 2 columns): Char  No B     1 A     2     <- Selected C     3 Above the rows are sorted using the No-column. If I selected row "A 2" and sort using the Char-column I get this: Char  No A     2 B     1    <- Selected C     3 But that's not what I want! I want this: Char  No A    &n ...Show All

  • Visual Studio Express Editions GetFiles Pattern

    Hi, I use the following code to get all *.tlg files of an specified directory: folderName = OpenFolderDialog.SelectedPath Files = Directory.GetFiles(folderName, "*.tlg" ) Unfortunatelly, I've no idea, how to select files with different extensions. This one isn't working: Files = Directory.GetFiles(folderName, "*.tlg;*.txt" ) How do I have to specify the searchpattern for GetFiles Hi there, As far as I am aware, the ability to select files with different extensions with a single call to GetFiles() is not available. According to the MSDN documentation ( System.IO.DirectoryInfo.Ge ...Show All

  • .NET Development Open/Read file from Solution, not from disk

    I want to read in the contents of a text file, where the text file is an item in my .NET solution, not a file residing on the disk. How do I find this file   For example, in my C# code, I can create a StreamReader:   System.IO.StreamReader sr = new System.IO.StreamReader( ))   My .NET solution has a folder for my project and all the source code files. It also has a “Solution Items” folder, with a text file in it. I want to read that text file. If you are building from within Visual Studio (which I suspect that you are) and the file is part of your project, I would recommend copying it to the output dire ...Show All

  • Visual Studio Tools for Office OUTLOOK ADD-IN

    I have Visual Basic 2005 And I try develop Outlook Add-In. MAIN project = SHARE ADD-IN (taken from template) Inside the project there is another project OUTLOOK ADD-IN (taken from template VSTO) I did it  because I can not access all Outlook objects from SHARE ADD-IN project ) I need to call from MAIN project  --->  procedures  in OUTLOOK ADD-IN project How can I do it in multi-project invironment  Thanks in advance   Andrew, I'm sorry you are having trouble with your add-in project. I recommend you take a little time to fully understand shared add-ins with ...Show All

  • Smart Device Development Cannot install SDK certificates to WM5 phone

    Hi I have a WM5 Qtek 8310 and VS 2005 and installed the SDK tools for it. However I cannot install the SdkCerts.cab into the phone. It says that the installation failed due to not enough system permissions. Also I cannot deploy a small HELLO app from VS2005. The app is signed with the SDK unprivelidged certificate. Error msg from VS2005: The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Device Connectivity Component  I have also tri ...Show All

  • Visual Studio Express Editions SqlDataSource control goes AWOL

    When I drag a table from my Data Connection pane onto my form design pane, I no longer see the SqlDataSource control. The control appears to be functioning well as it is populating my "datagrid" (now called GridView ). question is: Where is my SqlDataSource control hiding many thanks J. Just figured it out :) Apparently I had tinkered with View menu, as in View -> Non-Visual Controls Cheers! J. ...Show All

  • Visual C# Web Browser

    Hi, I have a web program that working but the addressBar and the form title bar do not updating. Thanks for any help. Can you post the relevant code, how do you update the addressbar en form title This should do the trick: private void webBrowser1_Navigated( object sender, WebBrowserNavigatedEventArgs e ) { txtAddressBar.Text = e.Url; } private void webBrowser1_ProgressChanged( object sender, WebBrowserProgressChangedEventArgs e ) { this .Text = e.CurrentProgress; } ...Show All

  • Visual Studio 2008 (Pre-release) What support does DLinq have for SQLXML, and can I do XLinq queries with it?

    Hi there, Just interested to know how I can translate a "XML" column into DLinq.  Does it support it only as a string primitive as of yet   Better yet, any chance of it being supported as a XDocument   I can most likely do this with custom read and writes, but doing something like this is what I would consider most correct: [Table] class Users {     [Column(DbType="uniqueidentifier", Id=true)]     public Guid UserID;     [Column(DbType="xml")]     public XDocument UserDetails; } Does this work now and I just am not doing it right   Does anyone have any i ...Show All

  • Visual C# How do I create new Outlook Message Form by Code in C#

    Hi all I want to create a new Outlook form inherite from New Mail Message Form by coding in C#. Any one can give me an idea Thanks a lot hi Please clear the things im not getting u want a full outlook software or only one form to send mail if u want one form then use the com component thanks ...Show All

  • Visual Studio Express Editions Can't download Express registration benefits

    Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it, the file is an aspx file that won't do anything when opened in WD. When opened in an internet browser, it just tries to download itself again. Maybe the site will be updated and fixed tomorrow. ...Show All

  • Visual Studio Bug with Macros in VS 2005

    Here's a Repro for a simple Macro in VS 2005 that should open a file in the solution explorer. VS 2005 Records the Macro, but when it comes time to play it back, it simply won't work. This DID work with VS.NET (i.e. VS 2003). (You just have to make sure your focus is on the solution explorer when you invoke the macro...) 1. Open a new winforms project in VS 2005. 2. Close EVERYTHING (including Form1.cs) 3. CTRL+SHIFT+R to start recording a new macro. 4. double click, in the solution explorer, on Form1.cs. 5. In the macro toolbar, stop recording the macro. 6. ALT+F8. Nav to MyMacros | RecordingModule | Temp ...Show All

  • Visual C# keypress style for alphanumeric textbox help plz

    hi, i am very very new to C# and although i am used to VB 6 and a bit of C++ andJava .. i cant seem to find how to control the inputs on a text field. i need a filter for my textbox that only accepts alpha numeric input. i was thinking over the line of having a keypress event and checking at textbox_change that each char is alphanumeric. how to do this. plz can anyone give me a skeleton or the textbox_TextChanged function! I am using Framework 1.1 i think thats why i dont even have the maskedtextbox commponent to help me :-P.. plz reply asap! thanks... u can use the following code private void textBox1 ...Show All

  • .NET Development Function that return a dataset problem

    I have in my aplication two projects the first the presentation tier and the second the DataAcces tier So I have a form lets say my ProductForm (in my presentation tier) I have a textBoxes bindding to the dataset columns in designtime so In my DataAcces project I have a function that returns a dataset of the type of products, and in my Product Form I have this code for theload event. Try dsProducts = dm.GetProducts 'MessageBox.Show(CStr(dsProducts.PRODUCTS.Rows.Count)) Catch ex As Exception MessageBox.Show(ex.Message) End Try A ...Show All

  • Windows Forms Type comparison

    I want that all tabControls which are on forms that inherit from my childwindow, are always set to the first tab, when activated. So I wrote the following code into the OnActivate trigger of my child window: // BEGIN CODE private void ChildForm_Activated(object sender, System.EventArgs e) {     System.Windows.Forms.TabControl tabControl = new TabControl(); // Not really needed ...Show All

©2008 Software Development Network