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

Software Development Network >> Luke Breuer's Q&A profile

Luke Breuer

Member List

Dave Snyder
paulballard
Ganesha LD
denning_s
U m a n g
pwhitaker
Tom Regan
ctsand
saddy
Lawrence 007
wooten
My Vizai
Eslam Afifi
msigal
JuliusY
Tryin2Bgood
Bubba76
Alvinas
Helen999888
masterjohncoltrane
Only Title

Luke Breuer's Q&A profile

  • Windows Forms Disable horizontal scrollbar in listview control

    I want to always disable the horizontal scrollbar in the listview control. I think I will have to do this with a windows api call but I'm unclear as to the actual call. Any help Thanks, Rick I remember I once responded to a thread with the exact same question. I think the solution was to change the ListView View property to LargeIcon - this would prevent the horizontal scroll bar from appearing. I also tried using API call's to hide the scrollbar when it was on a different View property but that did not seem to work. does this help you at all ...Show All

  • Internet Explorer Development Organizing IE7 Toolbars

    What a Horrible experience has been using IE7. First I can't put more bars in the same row as the address bar So I get a incredibly big address bar and loose a lot of screen. Other problem is that toolbars dont stay in the place you put them. They keep moving even if you lock the toolbars. Is this a Primary BUG at IE7 Is there anyway to make IE 7 as useful as IE6 and customize bars the way I want and not the way the developers wanted Thank you in advance for solutions.... I HAVE THE SAME PROBLEM AND WOULD VERY MUCH WANT MICROSOFT SHOULD FIX IT BY A PATCH IN WINDOWS UPDATE OR SOME OTHER WAY THANKS DAVID ...Show All

  • Visual C# Recommended C# Books for Beginners

    What books or training videos would you recommend for someone wanting to learn C# I am a complete beginner to programming. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 ...Show All

  • .NET Development Updating Adds the same record to all rows in the Database instead of just one?

    Hello. I'm trying to update a single record in a database to add new data, but when I hit my update button and the event runs, it adds that record to ever record in the database overwriting the current data in the database. I'm not sure how to work around this problem. Any help would be greatly appreciated. Thank you. Yes, you are on the right track. I'm guessing that error is b/c you haven't specificed your InsertCommand object yet. Change it to read: AddressAdapter.InsertCommand = new SqlCommand(""INSERT INTO addresses(firstname, lastname," & _ "phone, address1, address2, city, state, zip)" & _ "VALUES ('" & txtFirstName.Text & "'," & _ "'" ...Show All

  • Visual C# CS0118 on string function

    This seems like it should be such an easy thing to do, but no matter what I try I get this error message. Compiler Error Message: CS0118: 'ASP.Global_asax.g' denotes a 'field' where a 'class' was expected Line 31: Session ["UserSystemName"] = WindowsIdentity.GetCurrent().Name; Line 32: Session ["Domain"] = g.getDomain (WindowsIdentity.GetCurrent().Name); Line 33: Session ["UserName"] = g.getUser (WindowsIdentity.GetCurrent().Name); Line: 32 This is for an ASP.NET page in the Global.asax file for Session_Start () and is using C#. g is defined as: Toolkit.General g; The entire contents of Toolkit.cs is Hi, SNAFU. The issue is that you have defined methods "getDomain(string)" an ...Show All

  • Smart Device Development Creating controls for Datagrid

    how can i created controls for Compact Datagrid. Well, go ahead and create them – you already have a sample on how to host controls in the grid. They just controls, by the way, there's nothing special about them. ...Show All

  • SQL Server Selecting a non existing column

    Hi, If TableA doesn't have a column named ColumnA, the following scripts gives an error: if exists ( select * from sys.syscolumns where id = OBJECT_ID ( N '[dbo].[TableA]' ) AND name = N 'ColumnA' ) insert into TableB ( ColumnB ) select distinct ColumnA from TableA How can i prevent this Thanks, Perry You can try this if exists ( select * from sys.syscolumns where id = OBJECT_ID ( N '[dbo].[TableA]' ) AND name = N 'ColumnA' ) begin exec sp_executesql N 'insert into TableB(ColumnB) select distinct ColumnA from TableA' end If necessary you can have an output parameter to handle the possible errors in case the statement is executed. L0 ...Show All

  • Visual Studio Express Editions Problem with DBNull values on form

    I am encountering a problem with a form comprised of several textboxes, comboboxes, and pictureboxes. I have a save button that when you click it, it saves the new record to the underlying datatable. However, the record will only save if every textbox, combobox, and picturebox has been given data (in other words, is not null - or DBNull). My problem is, not every record will necessarily need every control to have a value. In my dataset, all the controls allow DBNull values and for every textbox I have changed the NullValue property to "Nothing" as opposed to "Throw Exception". However, it will not let me do that for a textbox that is bound to a Double data type, a textbox that is bound to a DateTime data type, and for t ...Show All

  • .NET Development FileIOPermission

    OK, ive got a bit of a strange error Ive managed to get the IT staff to install visual C# 2005 express on a college computer, and it works pretty much fine. BUT When using an openfiledialog, i get this exception thown I get the exact same error but it occurs in InitializeComponent at the following line: // // openFileDialog1 // this .openFileDialog1.FileName = "openFileDialog1" ; Nothing I have done makes this "go away". I would prefer to have VS 2005 operate in the same manner as VS 2003. Does anyone know what settings/registry must be changed to accomplish this. Thanks ...Show All

  • SQL Server lookup task running very slow when deal w/big tables

    I try to convert a Procedure that join 8 tables with INNER AND OUTER JOIN, my understanding is that the Lookup task is the one to use and I should break these joins into smaller block, it takes a long time to load when I do this, since each of these tables had 10-40mill. rows and I have 8 tables to go thru, currently this Stored Procedure took 3-4min to run, by converting this to 8 Lookup tasks, it ran for 20min. has anyone run into this issue before and know a work around for this. Thanks Are you aware of the different caching types of the Lookup Tranformation by default the lookup caches the whole data set from your lookup table/query; if you are not using a query to limit the number of columns/rows ...Show All

  • Visual Studio 2008 (Pre-release) WCF Web Service hangs on response above a given byte size

    I basically have a map service that returns a byte array of a map image. If the image size is around 32K or less everything works fine. If the image size gets above that the client simply hangs - and eventually times out - waiting for a response. On the service side it looks like everything runs ok (it gets past the return statement). To be complete, I was originally *always* getting an error that the response was too large for the XML reader (or something like that). I fixed this by adjusting the <readerQuotas maxArrayLength="1024000" /> attribute. Thanks for any help. -Abe I tracked this down to an issue with a SharpMap map object stored in the session. But beyond that I still don't know ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Has anyone been able to run an XNA Game?

    I've seen many people sharing code and talking about Space Wars but no one really talking about running XNA Games. I do however see many people having problems running an XNA Game. People like me, have everything needed to run the game, a high Graphics card, and yet the game will not run. Those of you that are running games, do you know why I think found a higher graphics card that supports Shader Model 3.0.....after that, I'm set I'm not sure I found a card but I think if I go somewhere like BestBuy, you think they can advise me on a card to get ...Show All

  • Visual Studio 2008 (Pre-release) Svcutil XmlSerializer Mistery

    We have a WCF-enabled COM+ application. When svcusitl is run with no parameters other then URL, e.g: svcutil HTTP://CTXWHDEVETSNG1:4999/X/CORPTaxETS_2007/LYWEnterprise.EnterpriseManagerMultiYear.2007/mex the resulting proxy contains [System.ServiceModel.XmlSerializerFormatAttribute()], and Request/Response classes are created for some COM objects but not for others. I checked all possible differences between the objects, and read http://msdn2.microsoft.com/en-us/ms733901.aspx but still can't figure out what triggers the XmlSerializer options to be used by default for some our objects. Any pointers will be greatly appreciated. Thanks, -gn If your data uses XML schema constructs not supported by DataContract ...Show All

  • Visual Basic launch windows form directly underneath toolstripcombobox.

    Private Sub frm_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me.Top = MainForm.ToolStripComboBoxDirectoryHistory. bottom        'however there is no  ' bottom' property for the  combobox. End Sub do I use a new point(x,y) something or other to achieve this positioning of a form with respect to some existing control on the mainform Thank you, -greg Here's a sample code that's close to your setup. Private Sub ToolStripComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripComboBox1.SelectedIndexChanged Dim frm As New Form2 f ...Show All

  • Microsoft ISV Community Center Forums DBGrid and MSFlexGrid not working in VBA

    I'm working on a machine with Windows XP SP2 and MS Word 2003 SP 2. There's NO Visual Basic installed. I open Word, then VBA, open a form, and try to create a DBGrid control. I get a Microsoft Visual Basic error message (in Spanish): "No se puede crear el control porque carece de la licencia adecuada." In English, it's something like: "Cannot create the control because you do not have the proper license." I have no .lic file referring to DBGrid in my system. (I don't know if I need one). The 3 DBGrid files (DBGrid32.ocx, DBGrid32.oca, and DBGrid32.dep) are in c:\Windows\System32. I have registered DBGrid32.ocx using Regsvr32, and I was successful, according to the message I got. However, the problem persists. Can anybod ...Show All

©2008 Software Development Network