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

Software Development Network >> Brian Tucker's Q&A profile

Brian Tucker

Member List

Marc DESJARDINS
martok
arodtwitt
Álvaro Peñarrubia
Eric Hausig
Abhishek.itb
Wizzie
hye_heena
mario.muja
Raj Somarouthu
sroughley
emericbart
Gravy
Beast Forever
ukgam3r
direct confused
omrivm
Matt354245
Lee Hesselden
prthealien
Only Title

Brian Tucker's Q&A profile

  • Windows Forms DataGridView extra Value

    Hi, In one of my applications, I would like to retrieve a nummeric value from my database, but display a string-value (retrieved by using some enumeration) in my DataGridView. In addition to that, when I sort my colums, I'm looking for a solution that will sort on the int-value, and not the string-value. Does someone has a idea on how to achieve this A common approach is to add a column to the data table after it comes back from the database, then iterate over the rows manipulating the data you want. This requires that you manipulate the data view grid's columns collection to map to your column instead of the source (set the DataPropertyName of the column to a different name) HTH ...Show All

  • Visual C++ Why breakpoints have been disabled ?

    Normally I know how to set breakpoints and use breakpoints.I got a VC++ sample code from disk.When I set breakpoints and debug it,it show the following messages:One or more breakpoints cannot be set and have been disabled and the application will stop at the beginning of the program.Please tell me how to solve this problem .     Thank you very much for your answer! Thanks - I finally managed to work it out - it was because the pdb file was not being created. After a lot of trial and error, I finally found the switch in the project settings that controlled this (Project -> Settings -> GenerateDebugInfo). Saurav ...Show All

  • Visual Studio Team System TF14043: An error occurred computing the delta. Not enough storage is available to process this command

    We're attempting to migrate a fairly sizeable SoruceSafe database into a dual-tier TFS server configuration using VSSConverter. After running analyze.exe, VSSConverter Analyze, then half-way through VSSConverter Migrate we start seeing errors in the EventLog. The app-tier server had been running for about 3 weeks, so we've restarted it and are starting a fresh VSSConverter Migrate. Searching for the win32 error "Not enough storage space is available" seems to indicate that it's run out of memory. However this is a Dual Xeon hyper-threaded box with 3.5Gb of memory and plenty of free disk space. The 2.0 Framework machine.config has <processModel autoConfig="true" /> Can you provide any clues as to wha ...Show All

  • Software Development for Windows Vista WebserviceInput and Enum in interface definition will not bind to properties

    I run into the followinf problem using a webserviceInput that implements an interface for me. The interface has the following prototype: public interface ITripApproval { ApprovalStatus ApproveTrip( string from, string to, int cost, TimeSpan duration, TripReason reason); void VoteTrip( string tripid, ApprovalStatus status); ApprovalStatus GetTripApprovalStatus( string tripid); } Now when I want to bind the ApproveTrip method to a webserviceInput activity I will see that it will let me bind the properties for the parameters from, to, cost and duration but the TripReason property will give me an dropdown box where I need to select the value from the enumeration. Now I don't want that parameter to get a fix ...Show All

  • Visual Studio 2008 (Pre-release) Creating an instance of class with classname stored in array

    hi all, I have developed an application in which i am storing the interface name and class name in the string array.Depending upon whether it is a class or interface,i want to get the Type so that i could use the class and instantiate it.How could i achieve this.Any help would be appreciated. Regards, spshah This is a bit off topic for the WPF forum, but, you can dynamically load a dll ( Assembly ) using Assembly.Load (...). If the problem is that these assemblies and their references can't be resolved by the runtime, you can hook the AppDomain.CurrentDomain.AssemblyResolve event, manually determine the location of the referenced assembly, then load and return it using something li ...Show All

  • Visual Studio Express Editions Displaying an EPS file in a windows form

    Hi All I'm having problem to be able to open (Display) an eps file in my windows form. If some one know haw to do it please help. Thanks! Thank you for the link. It was what I was looking for. Can you be able to tell me please : I'm using Visual Basic 2005 Expres Edition. and this is a free one A file "VS2005ImageLibrary.zip" is missink from that version. My question is: If I get (purchase) the Visual Basic 2005 and have this file will I be able to exess eps files or pdf or... Or this "VS2005ImageLibrary.zip" is just a collection of ready images. I'm confused in this Nice coding! ...Show All

  • Visual C++ place for code

    maybe this is a stupid question, but I have started microsoft visual C++ today (c++ itself also for the first time) and i dont know where to put the code. i'm making the program hello world, but it doesnt work it asks if i want to 'build' the programm and i dont know what it means. i named the program hello and i put the code in the place where it says: hello.cpp is this the right place if so, what am i doing wrong this is the code: // hello.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { return 0; } #include <iostream.h> int main() { cout << "Hello World!\n" ; return 0; } ...Show All

  • Visual Studio Express Editions some more questions :p

    yep, its me again and i have some more questions xD 1) how can i create a picturebox in the code itself like when i click button1 then there is a picturebox created 2) i want my 'if' thing to have 2 things in it (like if (MyInt == 0 and MySecondInt == 5)), how do i do this, as 'and' didnt work 3) u can write things in a combobox, but how can i disable that u write things in it 4) u can check and uncheck a radiobutton by clicking it, but how can i do that u cant check and uncheck it by clicking the radiobutton (i have some other ways to check/uncheck the radiobutton) thx in advance Yes, it puts it behind another control. Fix it like this: ... this.Controls.Add(box); box.BringToFr ...Show All

  • .NET Development Localizable WinForms & slow rendering (VS2005)

    I've a form containing a few usercontrols (infragistics, ...). Since I made the usercontrols localizable the form takes 3 seconds to show up. Is it possible to limit the number of localizable properties By hacking the designer for instance. Or any other way in order to improve the performance. Thanks. You should use a profiler to see why the form is slow. It could be because the framework cannot find the resource assembly for your language. You could see if this is happenning using fuslogvw.exe. ...Show All

  • Windows Forms C# applet displays broken image

    Hi All, I created a simple applet in C# and displayed it in an html page. It worked fine on one server but when I deployed it to a testing server the applet displayed as a broken image in my web browser. The servers have slight configuration differences but they are rather similar. I have read several posts and could not resolve the issue. Does anyone out there have any idea what to look for Thanks To solve my problem I had to go into IIS. The folder that holds the dll must be changed to an application. Then in properties, click configuration, click add, browse to a dll called aspnet_isapi.dll, add the extension .dll, select all verbs, and click OK. This solved my applet issue. ...Show All

  • Visual C++ winuser.h error

    Everytime i try to include winuser.h i get this: C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C2146: syntax error : missing ';' before identifier 'HDWP' C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(43) : error C2146: syntax error : missing ';' before identifier 'MENUTEMPLATEA' C:\Program\Microsoft Visual Studio 8\VC\PlatformSDK\include\w ...Show All

  • Visual Studio Express Editions Update notification to other running copies of software

    i have a stand alone prgm that talks to an access db, would like to let other people running the same software know that the db has been updated and cause their prgm to refresh data from the db. any help would be greatly appreciated. bevis61, Do you need to make your database updated I recommend you to read the following article. You can use the TableAdapter.Update method to update (edit) records in a database. The TableAdapter.Update method provides several overloads that perform different operations depending on the parameters passed in. It is important to understand the results of calling these different method signatures. How to: Update Records in a Database. http://msdn2.microsoft.com/en-us/lib ...Show All

  • Windows Forms Regarding Wrapper clasess

    hi, In my application i am using some unmanaged code to do CUT, COPY and PASTE operations. Example of those codes are public const int EM_CUT = 0x300; public const int EM_COPY = 0x301; public const int EM_PASTE = 0x302; and send these using SendMessage(). I have heard about Wrapper classes and found out that these are used to call umnanaged code from managed code. What does this mean Could some one explain If i have to create one i would love to implement one in my application. No it's not something you have to do. A wrapper class would simply encapsulate the ugly details of calling the native code, and expose an interface more friendly to managed code clients. ...Show All

  • Visual Studio Express Editions exist any putpixel function???

    I have been using picturebox and the image class to draw images, but it seems extremely slow... unbearable ... so i was wondering exist any function like putpixel that helps me to speed up my program ... but i need to speed it up a lot cause getpixel and setpixel are taking like 25 sec to work on a small 340x250 image ... please!!! i need help :( I've got absolutely no idea what 'picturebox' or 'image class' your talking about. But to get any kind of speed in a drawing application you need to work with a screen compatible memory device context. Select a bitmap with the correct size in the memory device context and directly modify the bitmap bits. Then use fast hardware accelerated bitblit like functions to copy from the memory bitmap ...Show All

  • Visual Studio Express Editions Example of tabbed webbrowsing

    Hello, as I have seen a lot new threads about the webbrowser, I thought: "Why don't try it myself " :p So I tried, and I just made myself a working tabbed browser :o I put the source and working example online so you people can have a look how everything works.. Here is the link Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :) Grtz, Tom. Renee, first of all: dont scream, it doesn't solve ur problems.. ;) So, when your done screaming: Is it possible that you capture the <enter> in your form's KeyDown event instead of in the combobox's KeyDown event This is one of the possible explanations I have for that issue.. Kind regards, Tom.   /* Begin Edit */ BTW, I've up ...Show All

©2008 Software Development Network