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

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

d_a_heitbrink

Member List

vinxter
yaipaaa
François-Régis Colin
Chris Jiang
mech_3
Conchur
Steve R
Paresh_1977
Mellis27
mrcst
ManicCodeMonkey
pfitzsimons
VINH TRAN
whidbey_boy
Namialus Dauf
chaboy
n3hgn
Tanzim Saqib
mdsawyer58
tom.winans
Only Title

d_a_heitbrink's Q&A profile

  • Windows Forms ListBox MultiSelect

    Hello, I have a listbox, from where I have say 3 items selected, how can I find which are selected.... Basically you have to cheat everything This is what I did and it works.... ListBox box = new ListBox (); box.DataSource = dsLine; box.DataValueField = "LINE_CODE" ; box.DataBind(); for ( int i = 0; i < box.Items.Count; ++i) { string item = box.Items .Value; ListBox1.Items.Add(item); } ...Show All

  • SQL Server Excel pivot table

    Hi, I have several pivot tables in Excel that access data to a SQL 2000. We install SQL 2005, we change the ODBC from the 2000 server to the 2005 server. Now when we try to run the pivot tables I've got the following message: "User 'public' does not have permission to run DBCC TRACEON" Any idea on how to fix this problem Thanks, Arty Yes, copy and paste the code in Tools -> Macro -> Visual Basic Editor. I received an error... but now I have no errors ... will try to repro and post results... I used Excel 97 but now have tryed on an Excel 2000... may be the problems is because of the old exc ...Show All

  • SQL Server CLR Enabled

    Can anyone tell me what this means and how to fix it I created a stored procedure in VS2005 and did a build. When I went to SQL Server there was the stored procedure but when I run it I get the error.... Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option I changed the 'clr enabled' property to 1 using sp_configure but I still get this error. Thanks Mike Hi. You need to run RECONFIGURE. sp_configure 'something', value go RECONFIGURE go sp_configure 'something' go ...Show All

  • Smart Device Development DateTimePicker: Calendar "Pop Up" Button

    Hi All, I'm working with a DateTimePicker on a Pocket PC device.  The DateTimePicker has an arrow button, that when pressed "pops up" a calendar. Ideally, I would like the button to be large enough to be pressed by a user's finger. 1) Is there a way to change the arrow button's size 2) Is there a way to programatically cause the calendar to "pop up"     Thanks in advance, Eric Take a look at my blog post: http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=4069b90f-f53f-4726-8790-36a9d3830aed ...Show All

  • Smart Device Development A problem about the menus in Smartphone 2003

    I created a new MFC Smart Device Application Project for Smartphone 2003 using VS2005.  And then I found the menu didn't work right.  So I searched the solution here and found the article: http://blogs.msdn.com/johnkenn/archive/2005/08/22/454858.aspx I followed the all instructions in the artcile but I still have a little trouble. Here is a part of the Test03sp.rc: IDR_MAINFRAME MENU BEGIN     MENUITEM "OK",                          IDOK     POPUP "Option" &nbs ...Show All

  • Visual Studio Express Editions Converting std::string to System::String ??

    Hi all, I am trying to place the contents of a std::string into a System::String and not having much joy in doing so. When compiling I receive the error message shown below: : error C2440: 'initializing' : cannot convert from 'std::string' to 'System::String ^' Can anyone assist – is there a way I can convert it Pete Fritzables wrote: Hi all, I am trying to place the contents of a std::string into a System::String and not having much joy in doing so. When compiling I receive the error message shown below: : error C2440: 'initializing' : cann ...Show All

  • Windows Forms Tab key /textbox problem on form called via COM

    Hello, I have a .NET component (a form) which has methods that create popups (other forms : popupforms). On these popupforms I have put some textboxes, and assigned a tab stop order. I also have a multiline textbox where I set the acceptsTab to False, since the tab key is not allowed in the text. This component is made COM visible, I have an interface and s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GDI+ & Textures again

    I've seen this appear before, but I just want to make sure there's no possible way to accomplish the combo in an efficient manner before I resort to external libraries such as Cairo or AGG. So - can I make the Graphics object draw to an arbitrary memory area where I just supply pixel format, width, stride and height Would it be possible by p/invoking the non-.NET version of GDI The reason is that I'm adding a "processing" (processing.org) -like system to my gamedev kit Endogine, and to keep the performance at an acceptable level I simply can't go around copying bitmap objects to textures for each frame update... ...Show All

  • Visual Studio 2008 (Pre-release) Hierarchies in DataContracts

    Is it sensible to create a hierarchy using DataContracts For instance i would like to have one DataContract contain a (generic) list of children that are also DataContracts. What are the issues in doing this Secondly I'm not sure of what my options are regarding initialization of the members of a DataContract. Do I have to have a create method on my ServiceContract for every DataContract I wish to initialize I only really want to initialize value types and instantiate a List (see above). Does this require a call to a service method Thanks for any advice, Dave. There's certainly no problem nesting DataCon ...Show All

  • SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?

    Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following. Which ones, or which others, would provide the most value to the most users I don't have the authority to make this "sticky," so get your votes in before I disappear off the bottom of the page! Tas ...Show All

  • Visual Studio SourceSafe Integration without SourceSafe CD

    Hi, I have a desktop with Visual Studio 2003 that needs to connect to our SourceSafe Server, but I don't have the SourceSafe CD to install the integration files. Is there a place on the Visual Studio 2003 discs that the files are located Or, can I copy the required files from a desktop that alreday has the integration installed to the one that does not Can I download an "Integration Setup" anywhere Thanks, FD Hi Dave, It seems that your VS2003 version doesn't include a VSS 6.0d CD (it should be a separate CD, only with VSS on it). Since you say you have a VSS 6.0a, it seems to me you didn't have VSS coming ...Show All

  • SQL Server accessing report server programmatically

    Hi friends I have .net app ,where i display reports from my report server in a screen .,which works fine. I added a web reference to my report server ,to my solution to get it work. since i know my report server name on machine i added webreference to my project. but when i deploy at site ,as you can guess, the server name can be different. is it possible add web reference programmaically so that i dont need to hard code report server name am using sql server standard 2005,VS2005 standard edition. Thank you very much for your help in the place where you instantiate the webservice client: MyReportServer rs = new MyReportSer ...Show All

  • Windows Forms Controls Resizing

    I have 3 controls on a Panel.The panel is docked to Fill. The client has demanded that the controls on either side (i.e a listview and treeview) be resized with the form but the center control which happens to be a Panel with buttons(Add/Delete) be nonresizabale.I have managed to achieve this programmatically, but I'm running into the following problems, 1 As I'm unable to use the Docking and anchoring properties(I have tried to my wits end but unable get this working as per the clients demands) the resizing is not smooth and the controls seem to flicker.How can I over come this . 2.Another problem that I'm facing is on minimizing the for ...Show All

  • Windows Forms How to pop-up text edit window in DataGridView?

    One of the textboxes in my DataGridView holds lots of text (like a detailed description). I'd like to present a large text editing window to the user when she edits this column.  Is there any way to do this Thanks Does anyone have a solution to get the current cells x y position I've also tried the above code which doesn't work Thanks. ...Show All

  • Visual FoxPro Programatically Placing Controls on a Form

    A table's fields are: Text, XformCoordinate, YformCoordinate. What would be an efficient way to  process the  records , placing a label for each record at the form coordinates specified in the record with the label's caption equal to the text field in the record. Thanks, Joe Laden (an old Clipper programmer) This worked great! Thank you very much.   Apparently FoxPro can't handle controls in an array or container.  Your method works by using evaluate() to produce the literal names of the controls. Joe Laden ...Show All

©2008 Software Development Network