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

Software Development Network >> Tom LeBold's Q&A profile

Tom LeBold

Member List

papermater
kvnfrazier
p0lar_bear
jwhansen
Xancholy
newguyintown
mohdtmn
gfheiche
COLLECTOR
NotTaken
Prashantlakhlani
caitac
WHatsWrongsong
Pure Krome
SaloS
rene schrieken
Bahmanbj
Rooster A.
narasiman_jayachandran_2b5374
Asim A
Only Title

Tom LeBold's Q&A profile

  • Windows Forms TreeView Levels - Not going deep enough

    Hello all I'm suffering a little with the TreeView control. My problem is I'm wanting to create a dynamic category list that company survey's will be filed into. My database has a table for categories; each with an ID, Name and ParentID (ParentID is null if its a root Category / Node). Also each survey has a category ID it should be filed into. When the categories are pulled from the database I test to see if its got a ParentID, if it doesn't I want to add it as a root node, otherwise I want to find the node it should be a child of at add it to that. There in lies my problem. I can't get the TreeView to find any nodes past layer 1(i.e. Root->SubCategory). I have tried the Nodes.Find method but can't search lower ...Show All

  • .NET Development Microsoft Oracle .NET Data Provider Performance - repeated internal SQL

    Hi, We are noticing several similar SQLs (listed below) which execute many thousands of times per day. The SQL in question does not access any application tables, it accesses the Oracle data dictionary to retrieve metadata, which is essentially static in this context. On one particular day the SQL is issued some 24,024 times, performing 401 million block accesses and consuming 2,080 seconds of CPU. Our concern is that as our transaction rate increases that this SQL may become a performance bottleneck. I'm wondering if there are any configuration settings within ODP or application coding guidelines which may allow the SQLs to be issued once and the results held locally for re-use I have read about connection pooling and statement caching. ...Show All

  • SQL Server Can two Tables have the same primary key ?

    I have been given a project to complete where ... two tables "Flights" and "ScheduledFlights" have a column called "FlightNo" . In both these tables it is mentioned that "FlightNo" is primary key Is this possible i am not talking about foreign key here.... Here is the script that i have created.. create table flights ( FlightNo char(5) constraint FlightNo primary key clustered not null, DepTime char(5) not null, ArrTime char(5) not null, AircraftTypeID char(4) references Aircraft(AircraftTypeID) not null, SectorID Char(5) references Sector(SectorID) not null ) create table ScheduledFlights ( FlightNo char(5) constraint FlightNo2 primary key clustered not null, FlightDate datetime not null, FirstClassSeatsAvailable int not null, B ...Show All

  • Visual Basic cant find Debug -> processes window ?

    Hi i am using Visual studio 2005 framework 2.0.50727 version i cant find Debug -> processes window like in visual studio 2003 version any idea sujithf right click in the tool bar area and then select 'customize' from the context menu... then select the 'commands' tab and from the catagories list select 'debug' and then from the 'commands' list drag "attach to process' to the debug window and then close the dialog...this will place the command on your debug menu ...Show All

  • Visual Studio 2008 (Pre-release) Centering WPF Window over a Win32 owner

    Hello all, I'm attempting to center a WPF window over an HWND. I figure this would be fairly straight forward. Using XAML I set WindowStartupLocation="CenterOwner". Then using WindowInteropHelper I set the WPF window owner to my hwnd (obtained by AfxGetMainWnd()->m_hWnd) then launch the window using ShowDialog. This does not achieve the desired result. The window is not centered over my main app window, however it is displayed on the correct screen (dual display environment) where prior it was not. Any ideas why this behavior If I cannot get this method to work then I'll simply pass in the center of my main app window in screen coordinates and work from there. Thanks, Jamie The solution I ...Show All

  • Visual C# Configuration Files - Winforms .NET 2.0

    I'll explain the situation We have in our solution 6 projects, One is the winform gui APP which has it's own configuration file. Then there is another project which is the Data Layer and this also has it's own config file containing the connection string which is in the Properties.Settings are of the project. This is new to me so bare with my poor description I also joined the project later on. The problem is now we are deploying the project only one application config is deployed and it doesn't contain the connection string as its the application config. It seems the connection string is 'inside' the dll generated by the DataLayer project. No one here wants to fix the problem as such what we want is a way of accessing t ...Show All

  • Visual Studio Unable to debug unmanaged C code

    Hi, I have a solution in VS2005 that comprises of a main vb.net project and an unmanaged C DLL, the linkage being via dllimport. I have my vb.net project set to allow debugging of unmanaged code and my C project set as mixed, but no matter what try I cannot get the source displayed when I step into the C DLL. Any ideas The only pdb file I have is a vc80.pdb so I'm guessing I've missed something in the compiler options, I';ve tried both browse debug and program database debug. But in both cases the vc80.pdb cannot be loaded with the error "the symbol file does not match the module" Steve ...Show All

  • Visual Studio 2008 (Pre-release) Problems loading a stream into a RichTextBox (via a usercontrol)

    Hi,   I have a WPF application which has a window1.xaml and usercontrol1.xaml files. In my usercontrol xaml file, i have a richtextbox, and in my window file i have a file open menu bar. On click on the file open, the open file dialog box should open and the target of the file contents should be the rich text box. I have add the logic to open the file dialog box in the load file function within window1 class. After getting the filestream object, I am calling a property in the usercontrol class which sets my filestream object in the user control. I then call a usercontrol function which has the following code: range = New TextRange(mainRTB.Document.ContentStart, mainRTB.Document.ContentEnd) range.Load(fStream, dataFormat) ...Show All

  • Visual Studio Team System running team explorer client as a stand-alone app with vs2005 installed

    Hi there Is it possible to run the team explorer client as a stand-alone app even though vs2005 is installed I'm using codeplex.com for my xna project, xna is visual studio express only, and team explorer isn't integrated into express... I'm aware of the command-line option.. I am pretty sure that the Express editions are sandboxed, meaning you can have multiple express editions and a Visual Studio 2005 edition installed on the same machine. If you install Team Explorer it will create a standard Visual Studio 2005 shell with just the Team Explorer bits in. Sadly, It still means that you have to do source control in a seperate application though - but at least it is a GUI. Hope that helps, M. ...Show All

  • Windows Live Developer Forums Map is Done Loading

    Is there way to tell when all the tiles within the map have loaded ...Show All

  • Visual Studio Express Editions how to populate label on different form.

    I'm trying to populate a label on from. The value for this label is coming from another form which opens up the active current form where the label resides, is this even possible and if so can someone explain how to do it using the C# express designer. you need to have a reference/instance of that form in question, and then access the label property either by making the label control public (so its viewable/accessible by the caller class(es)) or create a public property which can get/set the label property. Example of accessing other forms/controls: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=765625&SiteID=1 same thing would apply for a label, except you just change the properties appropriately. so, you want ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Development

    Yes I know it's a little early but since beta 1 of the XNA Game Studio Express won't have Xbox 360 development will beta 2 include this or not Is it too early to tell -- Mike You would think that they would want to beta this feature but something in the faq said that MS does not beta this type of thing on 360. That being said I think they will have a private beta 2. ...Show All

  • SharePoint Products and Technologies Customized form not working with attachment

    I created a customized edit form using the "Custom List Form" in SharePoint Designer. Now the attach file button no longer works. I am getting "This form was customized not working with attachment." Has anyone found a workaround for this My attachments are saved now! I was using custom form because i want to hide fields... Since custom form not save attachments, i use the NewForm.aspx. I order my fields : on the top are those i want to show (10 fields) and on the bottom those i want to hide. I've found that in the newForm.aspx, the table in which fields are has no id and no name. But it's the only one whose className is "ms-formtable". ...Show All

  • Visual Studio Determining the "Top" position of a textbox control dynamically

    Hi, I am creating an rdlc on - the fly. I am stucked up at a stage, wherein I am not able to find a WAY OUT and hence your assistance might help me. While creating an .rdlc file on - the fly, I am using a List which contains some textbox(es) and a SubReport. Each of these textbox(es) contain one or the other field values as its respective value. Apart from that, each of the textbox(es) have the "CanGrow" property / element set to True. The issue is that I have two fields (Remarks and Address) (2nd last and last field respectively) which have multiple lines of values. At the time of printing, both the values are printed in the textbox with the "CanGrow" feature on. However, the contents of the "Address" ...Show All

  • SQL Server Function call to Progress linked server

    I have a Progress DB set up as a linked server. To get the data through to SQL Server 2005 in a useable format i need to use the progress PRO_ELEMENT function call. How do I delimit this so it gets passed to the progress DB. I've tried SELECT {fn PRO_ELEMENT(fldarr1,1,1)} as fld1 from ls1..pub.tab This just returns an unknown function message which I believe is on the SQL Server end of the call. This statement works fine through Business Objects. Any help greatfully received. ...Show All

©2008 Software Development Network