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

Software Development Network >> Doug Rohrer's Q&A profile

Doug Rohrer

Member List

Boretti
Jagjot Singh
dg2007
borice
Ranier
bk13
Johnnie B.
ftbx
boran_blok_edan
Shiva3Al!3n
nativecpp
Mohamed Hussein Kotat
PerBylund
R.Tutus
razniaka
Rush hour
Marlon Smith
IceAngel89
Aleniko29139
Hector Urizar
Only Title

Doug Rohrer's Q&A profile

  • SQL Server Problems splitting name field

    I am reading in data from a legacy system where name data is in one field. The single field includes last name, first name, middle initial(sometimes), and suffix(sometimes). Due to the optional components it is a bear. I am using a fuzzy lookup on the suffix and derived columns for the first, last, and middle initial. The first name and suffix work, but I'm having trouble with the last and middle initial. The following is the formula I'm using for both. The first name formula is causing an error, and the middle initial is only populating if the suffix exists. If anyone has insight, it is appreciated. FirstName: TRIM(SUBSTRING([ARPNAME-T],FINDSTRING([ARPNAME-T]," ",1) + 1,FINDSTRING([ARPNAME-T]," ",2) - FINDSTRING( ...Show All

  • Visual Studio 2008 (Pre-release) It is impossible to compile LINQ project

    Hi there! I have installed LINQ CTP May 2006 and Visual Studio 2005.NET Team Suite. And when I try to compile a simple LINQ application the following errors have occurred - "; expected". It looks like syntax of C#3.0 is not recognized. I did all steps described in section "IDE Support (for Visual Studio 2005/C# 2005 Express)" of ReadMe for C#.htm but no luck. Does anybody have any ideas what is the reason and how to resolve this issue Thanks in advance! Hello Jim, you know the code is extremely simple and was taken from LINQ_Project_Overview document. using System; using System.Query; using System.Collections.Generic; class app { static void Main() { string[] na ...Show All

  • Visual Studio Will Not Jump To Source Code for Referenced DLL When Dubugging Project

    Using Visual Studio 2005. I have a simple project with two references added.  Both references are to DLLs that I have written.  They are in their own seperate projects. When debugging the main project the debugger will jump to the source code lines in one DLL but will not jump into the other DLL.  Both projects appear to be set up the same and I am pointing to the DLLS in the bin folders under the projects. The "Enable Just My Code" is UNchecked in the Debug / Options / Debugging Node / General list. Anyone have any idea why I can't jump to the source code   I never ran into this on VS 2003. Thanks, Nathan Jaynes Gates Corporation I don't have a Debug -> Windows -& ...Show All

  • Windows Forms Active Directory Search

    I would like to search the active directory for the user login. I have the code to search for the employee ID which is like this: System.DirectoryServices.DirectorySearcher mySearcher = new System.DirectoryServices.DirectorySearcher(entry); mySearcher.Filter = ("(&(objectClass=user)(extensionattribute2=" + number + "))"); extensionattribute2 is the employee ID and i would like to know which one it is for the login. Thank you in advance Al I just found a list of attributes, would the attribute that i am looking for be sAMAccountName Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout

    Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ Working nicely! One thing that I found that made the game dull is that the X-axis speed is always the same, just being mirrored when hitting the side walls. This makes the game just a matter of waiting for the ball to come up and down, and doesn't let the player have the ability to "redirect" slightly the movement of the ball to their liking, trying to ...Show All

  • Smart Device Development Using custom fonts on windows mobile devices

    hello, We are developing an winforms application for win mobile devices. We need to target win mobile smart phones 5.0 and 2003, also win mobile ppc 2003 and 5.0. What we should do if we want our own custom fonts for the application. can we use and install a particular true type font  on all of the devices above second option is going for our own bitmap fontstrings but in that case how can we use them in managed application where controls like textboxes,listviews does not support these fonts  we are developing managed application with c#., and as much as possible want to leverage on rich controls provided by .net., Only hurdle here is fonts, please suggest us suitable solution urgently. ...Show All

  • Windows Forms Maximize a form

    Hello, How can I maximize a form ...Show All

  • Visual Studio Express Editions Moving Line

    Here's the code that I'm using, the idea is that a line is drawn the width of the Rectangle and moves down to the bottom of the Rectangle, I've had this working but after adapting the program to work with advice from a previous post it no longer works. Why is this Private Sub Pb_Paint( ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) G.DrawRectangle(myPen, Rect) e.Graphics.DrawLine(myPen, Rect.X, Rect.Y + Y, Rect.X + Rect.Width, Rect.Y + Y) If Y = Rect.Height Then Timer1.Enabled = False Me .Cursor = Cursors.Default End If End Sub Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventAr ...Show All

  • Software Development for Windows Vista Is there any Comprehensive guide for Windows Workflow Foundation?

    Hi All, I've just started working on Windows Workflow Foundation. I need a detail guide of How to on the subject. May be something like chm files. msdn does'nt help me in the cause. If anyone has a resource as such please let me know. Thanks Miguel, I've seen the 2 links, Presenting Windows Workflow Foundation is the first book on the subject as far as I know, but I dont want to buy the book. I need an online free resource for the time being. ...Show All

  • Visual Studio Express Editions Solution Found - simple, easy and works

    I am trying to automate saving data from browsing some websites. I am having great difficulty to judge whether the webbrowser has completed all frames and becomes ready. I tried matching download complete against beforenavigate2,...etc as well as trying to use webBrowser.ReadyState Private Sub wb_DocumentComplete( ByVal pDisp As Object , ByRef URL As Object ) Handles wb.DocumentComplete if pDisp is wb.Parent then document_complete = True End Sub Took me a while to find it out, it is nowhere in the documentation. If the page has frames and is loading for the first time the above is good. If you are reloading just one frame then ...Show All

  • Visual Basic help me with cording

     i need 2 write a code  that can  display  a set of numbers from a list of (1- 10)    sets like {1234} [2345}   i really need help      Cord You mean code If you want help, you need to be more explicit as to the requirements. How should these sets be generated Is it just one set Or all sets within the range Should the user decide the sets To start you off though, you'll probably need an integer collection of some sort which holds your numbers and then a subroutine to look in the collection and extract the numbers which match your defined set of rules for these sets. That is one way, at least. I can think of a handful of o ...Show All

  • Windows Forms PrintDocument quality is bad

    I made a code to a barcode, I made a class return an image to draw the barcode and the other text i need in the label then print it through a PrintDocumnet I draw the image: private void printDocument1_PrintPage( object sender, System.Drawing.Printing. PrintPageEventArgs e) { using ( Graphics g = e.Graphics) { Font fnt = new Font ( "verdana" , 8); g.DrawImage(SPMSBarcode(c1BarCode1.Image, textboxText1.Text, textboxText2.Text), 0, 0); } } then the quality of the print out is bad BUT if I draw directlly to the printDocumnet (without the class) the print out is very good. So is there any lossing in any thing while using the class or what regards, Yeah exactly. I wish someone would answer this. ...Show All

  • Visual Studio 2008 (Pre-release) ListBox not Displaying Feeds problems Help Please

    I'v been trying to get the Listbox to Read the Feeds Listed In the ComboBox from IE 7 that lee d helped me with...this is what i have but it locks up and isnt doing what i want it to do.. Can someone help me with this...Thxs   private void IE7ButtonClick( object sender, RoutedEventArgs e) { IFeedsManager manager = new FeedsManagerClass (); IFeedFolder rootFolder = ( IFeedFolder )manager.RootFolder; RssComboBox.ItemsSource = rootFolder.Feeds as IEnumerable ; RssComboBox.DisplayMemberPath = "Name" ; //Below here locks up the program string pathToExport = RssComboBox.SelectedIndex.ToString(); pathToExport = ListBox.ItemsSource.ToString(); Queue< IFeedFolder > queue = new ...Show All

  • Gadgets My first gadget is done!

    I just created my first gadget. It is really silly, but neat. It has a pink border and the words "Hi! I'm a Gadget!" It's really nothing, but it's a start! ;-) So, if you're new to making gadgets, don't fret. It'll happen sooner or later! Well done, at least you made the effort to learn how to do it. I posted my first Gadget up on Live, apart from the settings page which I added later it's original. Rubbish Gadget, but it's useful if you've never written a Gadget before as there's nothing to it. ...Show All

  • Windows Forms Pinable Controls

    I'm wondering if there is a way that I can create a control that will be able to be pinned/unpinned, mimicking the same functionality as the pins on each window within VS 2005 IDE design view (toolbox, solution explorer, properties, etc). I know this is possible with 3rd party tools, however, the constraint is that I cannot use any 3rd party tools. I need to use readily available tools within VS 2005 Professional Edition. I've been researching this for the past two days, and it looks like this is possible with a toolstripcontainer, but I have no clue how to go about doing this. I couldn't find anything that helped me much, just old versions using 2003. I do not need the control to be dockable during runtime. The only functionality that I ...Show All

©2008 Software Development Network