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

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

cgraus

Member List

westis
MrZkitten
Felipe Heidrich
Enolan
nomer
Lechal
Larry_t
soanfu
T72
Rod Blackwood
Ace_Balasador
Raja Pratap
Marius Onofrei
MrJP
tenchyz
mabrouk
Chad Campbell
Steve Severance
js123
kid_kaneda
Only Title

cgraus's Q&A profile

  • Windows Forms How to center components(windows form) when the form is maximized?

    Hi all, I've a windows form with one text box, two buttons and other components. Is there a way for me to center all these components when the windows form is maximized Thx. ...Show All

  • Visual Studio Tools for Office How to read mails in Outlook 2003

    Hi all, I am trying to write an application which will read all the incoming mails and then give the output to the user in the specified format. I am looking for some links to get started on this. Regards Deepak Sinha Here on MSDN there are great articles and sample code. http://msdn.microsoft.com/office/program/outlook/ If you are using Outlook 2007 you can use a new feature called form regions to completly replace the inspector form with your own form. Building an Outlook 2007 Form Region with a Managed Add-In Thanks Paul Stubbs Program Manager ...Show All

  • Visual C++ Module tab says: the module did not load at the default load address

    I make a simple project using #define DLLEXPORT __declspec ( dllexport ) I've 3 projects in 1 solution, and 2 of them are .dll, 3rd instead uses first 2 libraries, is an application. When I build project i can read in Module Tab (bottom) the module did not load at the default load address width an exclamation (!) for 2nd project, instead 1st project loads correctlly. Infact if i try to use an Exception class that extends one defined in 1st project (.dll) i recive an error "unhandled exception". What does it mean How can i solve :( I don't know what the module tab is; I probably should but my memory is not helping me. I don't know where the message " the module did not load at the d ...Show All

  • Visual Studio Adding (and editing) .suo files to source control

    Hi, I hope I've asked the question at the right place. Our project uses a different than default working directory, so this has to be set in Debugging > Working Directory for the clients. The problem is the working directory is saved in the hidden .suo file which one cannot edit by hand so easily. Is there a way of creating a new .suo file with only the binary data for the working directory in it, add that to source control I presume on checkout VS will then reconstruct all other paths and stuff in there for the users. Solutions either for VS2003 or VS2005 would be great. Donnu why that file has to be binary though, if it were like the .sln or .vcproj files it would've worked. I wasn't sure mysel ...Show All

  • Smart Device Development Real-time Update Chart

    Hi, Is there any example for real-time update chart 2-D is OK. The XAxis should be the real time with minorunit as 12 seconds and majorunit as 1 minute. The beginnig point should be the current time when the application is started...As time goes on, the XAxis will also changes (Growing). Well, I do not know how to make the start point of the XAxis to be current time and the following points are time in the future, say five minutes at first. Then, the range will grow and the past time should be reserved....Well, I can not solve this problem~~~ Can anyone help me For starters simply try connecting these points with strait lines. At 5 samples per second average human probably won't be able to notice if graph is smooth ...Show All

  • SQL Server OLEDB error exceeds maximum length of 128

    I created a stored proc which is working perfectly even in SQL query analyser even if my query exceeds 128, but when i run it through asp I'm getting the error code 80040E14 which is mentioned in this subject, how can i work around on this ...Show All

  • SQL Server Multiple selection in a prompt with Null

    Hi, I'm creating report with the "Report Builder". When I create a prompt of dropdown on a attribute for multiple selection there is no null value to choose (the field in the database contain null). Is there a way to have multiple selection in a prompt but also have the ability to choose only null seperatly (like a date field has the checkbox of null in the right side) Thanks, Assaf ...Show All

  • Visual C# Embedded enum?

    enum Animals {Cat, Dog}; then I use do Animals.Cat in the code, with Intellisense support; how can I do something like Animals.Mammels.Dog A double embedded enumaration, with full Intellisense support. Can I do something like this If not, what is the closest and easiest solution Hi, you cannot define multiple levels using an enum type unfortunately in C#. You could make a class called Animals which has a property which returns an enum of type Mammels which enumrates cat and dog. What are you trying to do overall, there may be another solution. Mark. ...Show All

  • Visual C# Emnedde Flash File and change Dynamically

    Hello, I am using VS2003, i want to add flash file and change it dynamically in Webform How can i do that, can any one help me. Regards, YP ...Show All

  • SQL Server Need to get separate pages for each person..help

    I'm fairly new to RS and have a problem. I have a query that pulls information on people, courses they have taken, their score and so on. I have a date parameter setup so I can run it by year. Everything works ok on the query side, I get all the information I need on all the people and the courses they have taken. However, when I run the report, I do not get a separate page for each person and their relative information. The first page shows the first name and the rest of the 700 pages list all the courses and other information, with no break. How do I render the report so that I can get a separate page(s) for each person and their specific info I can glady provide more info/code if need be. Bill F ...Show All

  • Visual Studio 2008 (Pre-release) Setting inner exception for FaultException

    It seems that it is recommended that a WCF application throw a FaultException. My question is that if I catch an Exception how do I construct a FaultException so that the inner exception is populated Basically I have something like: catch(Exception ex) { throw new FaultException . . . . } Sorry to continue this thread but there is something that I still don't understand. What I thought this document was saying is that you should not let exceptions "leak" through the service boundary. If the exception raised is a null reference exception it would be a coding error and I would like to know the detail and hence the inner exception. I don't know which class or method generated the exception b ...Show All

  • .NET Development FTP entire folders with FtpWebRequest in 2.0

    I'm trying to use FtpWebRequest to get entire directory (folder) contents from an FTP site including sub-folders, etc. Basically I am using recursive ListDirectoryDetails calls to build the folder structure first. Here's some pseudo-code: method foo( localTargetDir, uri) create new ftpwebrequest with method set to ListDirectoryDetails get response and store it as text close response check response text for any sub directories for each sub-directory found in response set localTargetDir equal to currentLocalTargetDir plus sub-directory name create localTargetDir call foo with localTargetDir and uri + sub-directory name end of for each end of method This seems to work fine for the ...Show All

  • Smart Device Development SIP and Notification bubbles

    Hi I'm using notification bubbles with timeout to show errormessages for my application. If the SIP is up when the notification appears, it will dissapear when the notification times out. How do I get the SIP to stay up The same thing used to happen when I used AfxMessageBox (with timeout programmed for it). Karo http://msdn2.microsoft.com/en-us/library/aa453741.aspx should help. As you can see SIP_UNCHANGED can be used to fix the SIP state. As sip uses timers to switch state, it may be a side effect of that. I will suggest you to try handling the SIP state from you code. http://www.pocketpcdn.com/articles/sip.html has a good list of articles on the same. Hope this helps. Thanks ...Show All

  • Visual C++ Why does compiling with Unicode cause buttons to look different than with Multibyte or none??

    I want my application that was build with Visual Studio 6.0 to look the way it does when I compile with the Unicode Project Property option using Visual Studio .net 2005. But, if I compile with the Unicode option, I have to change the way I use strings throughout my application. Is there some way to get the newer visual effect (ie. buttons with rounded corners, radio buttons change with mouse-over) without having to make extensive code changes Using Visual Studio .net 2005, create a new project with the following options: Visual C++ MFC Application Accept MFC Application Wizard defaults except for the following choices: Application Type, uncheck Use Uncode libraries Generated classes, select CFormView base class so we can add b ...Show All

  • Visual C# Importing C++ Express project to C# express?

    Hi, I am new here and I am wondering if it is possible to import C++ express project into C# express ... Best Regards, Johney Hi Anson, Actually, I am just trying to port my codes over to C++.. but wondering if there is an easy way to do it... Best Regards, Johney ...Show All

©2008 Software Development Network