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

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

abeljda

Member List

Cindy
Chris Howarth
keroed1
Fantasio
diceboy666
s1mpl1c1ty
Ian Barber
Stefan Wick - MSFT
KumarG
bandreasen
blankmonkey
John Siegel
RandyHayes
Melipao
ecast
Sheeja Anil
Jose Bonilla
Vanny
Julian Mackintosh
Adhamz
Only Title

abeljda's Q&A profile

  • Windows Forms oledb select...

    Hi, I have this simple access database with one table. This table has two fields: Name (Text) and Age (Number). And in my form I have to textBoxes: the first where the user types the Name, and the second, the corresponding age. My question is: how can I search my table for specific Name (textBox1.Text) so I can retrieve an Age (textBox2.Text) &nb ...Show All

  • Visual C++ Question about CreateCompatibleBitmap(...)

    Hi. I used from this code to send my design to Clipboard. CPaintDC dc(this) ; CDC memDC ; CBitmap memBitmap ; CBitmap* oldBitmap ; memDC.CreateCompatibleDC(&dc) ; memBitmap.CreateCompatibleBitmap(&dc,myRect.Width(),(4*myRect.Height())) ; oldBitmap = (CBitmap *)memDC.SelectObject(&memBitmap) ; if (memDC.GetSafeHdc() != NULL) { memDC.BitBlt(0,0,myRect.Width(),(4*myRect.Height()) ,&dc,myRect.left ,myRect.top ,SRCCOPY ); } ///////////////////////****************************** if(OpenClipboard()) { EmptyClipboard(); SetClipboardData(CF_BITMAP,memBitmap.GetSafeHandle()); CloseClipboard(); } //////// ...Show All

  • Windows Forms Top-level forms

    My project uses two forms: the first form (frmLoading) appears at the starting of the program. Then I need to close "frmLoading" and to show "frmMain". I use this code to show "frmMain". frmMain* frm = new frmMain(); frm->Show(); And to close "ftmLoading" I use: this ->Close(); But when frmLoading closes, frmMain closes too. And I want to forbade the closing of frmMain, when I close frmLoading. How can I realise it Where did you made this call this ->Close(); -chris ...Show All

  • Visual Studio url access rs 2005

    I have an intermittent problem trying to access reports in reporting services 2005 via url. I receive the following exception Exception of type "System.Web.HttpUnhandledException" was thrown. Viewer control object is in a read only state. This is thrown for all reports on the server and access via report manager is fine. I have not found a way back from this error that does not require reinstalling reporting services. Any light you can shed on this would be greatly appreciated. Thanks If anyone is interested we were setting a link target to _self in the url, intermittent was a lie. ...Show All

  • Windows Forms Combo Box Problem with String Display Member and Number Value Member

    Hi, I have been trying to figure out what wrong for a few day already. I was not able to find any answer to the problem in the forum. If anyone know of any or know what's wrong pls help me. Thank you. Table Information: PurcOrder Table PurcOrderID PayeeID (Datatype ==> Number) ... ... Payee Table PayeeID (Datatype ==> AutoNumber) PayeeName (Datatype ==> Text(72) ) I'm writing a project managment system for construction using VS 2005 and Access 2003 as the db. I have a combo box in a win form binded to PurcOrder Table. Payee ID is a combo box. the display member is set to PayeeName in payee table while the ...Show All

  • Windows Forms storing details grids cells values created with bindingsource

    Hi, my master/detail views work, but when i create programmatically column in the detail detail grid for editing i've  difficulty to storing this value through navigation of master/detail.. in other words when i edit a row in the detail grid, or more rows, and select another record in master grid and then change records in details grid, previous edited cell records don't save edited value. Sure this behavior is normal, but how i can store edited cells through navigation I need to store value becose after editing all records i must save it's value changed in the database. I try for now to use PositionChanged event of ...Show All

  • Visual Studio Express Editions value of my variable is 1, i want 001

    question is about vbscript, but i cannot find a forum about it value of my variable is 1, i want to format it as 001 please help thanks   hi, you can do something like this dim i as integer = 1 Console .WriteLine(i.ToString( "d3" )) hope this helps ...Show All

  • Visual Studio VS .Net Required to publish Crystal Reports?

    Must a person use VS.Net to publish Crystal Reports Hello, I'm not sure what you mean by publish.  In the Crystal Reports world this generally means that you are using a managed reporting environment which implies that you are using something like Crystal Reports Server or Business Objects Enterprise. http://www.businessobjects.com/jump/smb/main/cr_server_xi.asp http://www.businessobjects.com/products/businessobjectsxi/default.asp If you would like to make a Crystal Report available from a web site then there are many options including building an application with Visual Studio .NET. http://www.busi ...Show All

  • Visual Studio Team System Team System/Team Suite....MSDN Renewal Confusion

    I am trying to basically weed out a couple of things: #1 - Is 'Team Suite' a deliverable product as of this posting #2 - It's my understanding that 'Team Suite' contains the 'Team System' components (Architect, Developer and Tester) and we (MSDN Universial Subscription holders) can choose one of the three above 'Team System; components (also referred to as Roles in some cases) for no cost. It's also my understanding that the utlimate path that Microsoft is attempting to pave out is to eventually provide the option to move from a 'chosen' Team System Role to the 'Team Suite' (if it makes sense for the orgranization to do so... Am I unde ...Show All

  • Visual C# DLLIMPORT AND VARIANT ARRAY

    Many thanks for you answer, but problems --------------- c++ method ------------------------------------------- long __declspec(dllexport) __stdcall Register( const char*  szServiceName, const char *szSymbolName, VARIANT& pVariantArray) {    SAFEARRAY FAR ** pSArray  = V_ARRAYREF(&pVariantArray);    UINT uDim=0;    if ( (uDim=SafeArrayGetDim(*pSArray)) != 2 )    {     char errbuf[512];     sprintf ( errbuf, "failed (%d): The variant array dimension is not equal to 2", lRet );        } ------ ...Show All

  • Visual Studio 2008 (Pre-release) Migration from BETA-1 to November CTP

    Are there any migration documents or "what has changed" documents for moving code from previous BETAs to November CTP Our code is breaking all over the place ... generics seems to have gone, config attributes have changed and namespaces have disappeared. From: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.windows.developer.winfx.indigo&lang=en&cr=US Subject: List of Changes from Indigo Beta 1 to WCF November CTP "Hongwei Yan" wrote: > Here is a list of changes I collected. > > Area Indigo Beta 1 WCF Beta 2 RC0 > Service code DataContract.IsOptional DataContract.I ...Show All

  • Visual Basic Blair Allen Stark

    Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All

  • .NET Development 64-bit beginner can't get 32- or 64-bit .NET apps to run on 64-bit machine

    Hi, Please forgive this dumb question, but I *just* got my 64-bit (AMD Athlon X2) machine two days ago and am trying to test .NET apps under it.  I've gone to Windows Update and installed all available updates.  I'm running Windows xp Professional x64 Edition. The problems I have are this: I used Visual Studio 2005 Release Candidate on my other, 32-bit machine to build 32-bit and 64-bit binaries of a little app that does nothing but show the size of an IntPtr when the user clicks a button. I copy the 64-bit app to my 64-bit machine and it crashes on startup.  I suspect because I don't have the .NET 2.0 framework on that machin ...Show All

  • Windows Forms possible/how to identify when WebBrowser scrollbars are disabled?

    I'm using C#/.NET 2.0 WebBrowser on a page and I would like to programmatically figure out when the scrollbars are disabled.  Is this possible I'm trying this way to figure out in code, the height of a webpage to be able to properly grab a screenshot bitmap of the webpage with the proper height of variable height webpages.  There could be another way (which I'm open to hearing :>), but this is the easiest way I could see how to do it, if it's possible to figure out when the scrollbars are disabled Thanks. ...Show All

  • .NET Development Sockets closing

    Hi, I have a strange problem with a TCP socket server. It seems like either client or server socket become unreachable after a while although neither side is closing the socket (at least not on purpose). The connection to the server is fine because when I have a separate ping process running, no packets are dropped. However, after while, when I send a message to the server it simply doesn't get there. Any idea what might cause this and what the best way is to ensure connectivity Thanks, Tom The best thing to do is to monitor the network traffic on both sides (client and server). You fir ...Show All

©2008 Software Development Network