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

Software Development Network >> Richard B. Lewis's Q&A profile

Richard B. Lewis

Member List

ssloka
bobwilmes
GordonBJ
tmsmith
v-lo
vlado2110
MichaelM
tonn
Stuart Kent MSFT
staelenss
Marco Linders
CharlesB1
PoulK
cftdanny
CrowleyM
sakhu
Bhavish_K
Igor Tur
Andy McG
jungleKing
Only Title

Richard B. Lewis's Q&A profile

  • Windows Forms Making a smartclient work like a browser?

    This may seem like an odd question and I'm not talking about using a browser in my smart client. Rather the following: I find it easy to create a nice UI when building a web application but since the project I am about to embark on is local to the machine, making a smart client makes more sense  :) but I find it hard to build g ...Show All

  • Visual C++ Printing Multiple Images using DrawImage

    I'm having problems printing multiple images. I have the following code: for (i=0;i<total_images;i++) { char arr[20]; string name = "Image"; name += atoi(i+1, arr, 10) name +=".jpg"; ev->Graphics->DrawImage(Image::FromFile(name.c_str()), x,y,w,h); if ((i+1) < total_images) ev->HasMorePages = true; else ev->HasMorePages = false; } total_images = 0; This snippet of code is running constantly in an infinite loop looking for new files. The problem is that the code does not release the Images that it opened to print. So when I try to delete the images after they have been printed I get an ...Show All

  • Smart Device Development Accessing the Garmin iQue M5 built in GPS Unit

    I wonder if someone out here could help me. I'm busy building an application for specific use with a Garmin iQue M5 Pocket PC. I was very excited when I joined the Garmin Developer Network ( www. garmin .com/DeveloperZone/ ) and found that there was an SDK already built for this unit allowing developers access to the built in GPS Unit. Sadly, once I had downloaded the unit I realised that it was built in Native C++, something which I am not too familiar with! Now my problem is, is there a way to develop my application using Visual Basic 2005 and still have access to the built in GPS Unit so that I can retrieve the current users coordi ...Show All

  • Visual C# In C# ,is there any similar to "vbCrLf" in visual basic ?

    When I manipulate with a string , i dont know the way similar to "vbCrlf" in visual basic . Please help me a little , thank you very much.Maybe its easy for many people here. Blair Allen Stark wrote: System.Environment.NewLine Thank you indeed , it works ! ...Show All

  • Windows Forms Design-time functionality at run-time

    I am trying to find a way to paint a selection border around a control whenever it is active at run-time.  I would like the border to be as similar as possible to the selection frame that is displayed around a selected control at design-time.   The way I am currently doing this is by hooking the MouseDown event of the control.  In&n ...Show All

  • Visual Studio Team System tbl_WorkspaceLink ??

    Hi, I saw in the DB - TfsVersionControl that there is table called tbl_WorkspaceLink. What the responsibility of this table There is any way to create link to some WS Thanks in advance, Shmulik. Hmm I don't know waht this table can be, it's also empty in my case ( Iahve three TFS projects for demos) But are you planning modifying it directly hmmm I don't think it would be good idea, it would be better just take a look to the OW and look for links between WS ...Show All

  • Microsoft ISV Community Center Forums How do I do to work with two XML files in VBA

    Hi, I'm doing a simple use of XML and trying to display the results in MS Excel. in the moment I have one XSLT that compares datas between two XML files and I'd like to know how to do to view the final datas from this comparation, in Ms-EXCEL, to be worked by other sheets. By now I don't have any idea how to do it (work with 2 xmls + 1 xslt), I already  do transform using an XML and a XSL file and it works nice, but now Could anyone help me sending a piece of this kind of VBA macro. Thanx everybody Marcos Hercules ES/Brasil mhercules@gmail.com marherc@hotmail.com . Hi Marcos, Our support en ...Show All

  • .NET Development DAO Wrapper: Field is DBNull after Addnew and throws error

    First a quick bit of background. I have a legacy app that is written in VB6 using DAO. We are slowly migrating to .Net. DAO is a problem going forward, but we do not have the time (or $$) to rearchitect using ADO/ADO.Net. We decided to write a set of abstract VB.Net classes that present the DAO interface - this will allow us to implement concrete classes using any physical DB engine that we choose to use in the future. I currently have implemented the abstract DB interfaces as well as a concrete implementation for Jet. This works pretty well, as I simply pass through any call to the DAO equivalent. However, I've recently come across a ...Show All

  • Software Development for Windows Vista Windows Service Hosting

    I'm looking for a little help. I have a Windows service being used to host .NET remoting objects. I'd like to begin integrating some workflow aspects in the service and am not quite sure how to go about doing this. Ideally, I'd have objects in my service create new workflows run them with the parameters received from clients. For example, I have a service that exposes a SubmitApplication() method. Right now this method simply takes some parameters and talks to a database. What I'd like it to also do is to pass some parameters to a new workflow that will be used to notify people of the applicaiton submission. I just need to figure out how the ...Show All

  • Smart Device Development Emulator remote connection lost during debugging

    I have VS 2003 installed and use the emulator 5.3.0.26 with the WebPad sample image (Windows CE 4.2) for testing. The emulator is connected as a Windows CE Device with TCP Transport. Everything work fine, but if I stops in debug mode more than 2-3 seconds on a breakpoint, the connection to the device will be lost with the message: "The remote connection to the device has been lost. Please verify the device connection and restart debugging." This effect doesn’t depend on the application I debug. I guess that somewhere is a parameter to increase that timeout period. Does anybody knows a solution Remark: With the built in emulator in ...Show All

  • Visual Studio Express Editions Setting AutoScroll bar's width, height and position

    Hi, Could anyone please tell me how to set the width, height and position parameters of the scrollbar that appears automatically when the autoscroll option is set to true Thanks Arpit Arora. The AutoScroll property uses the operating systems scrollbars. Those are not controls but they are rather painted by the system in the nonclient area of the window. To change their position and size will be difficult if not impossible. For example you cannot change the width of a vertical scrollbar because it's taken from user preferences. I suggest you use a ScrollBar control (VScrollBar or HScrollBar classes). ...Show All

  • Visual C++ Converting ByteArray to Char Array.

    Hi. I'm having some troubles when performing this conversion. In my C# code I read a image to memory, a TIFF, then I convert this to a ByteArray. After that I call a method from a managed class that I developed in C++/CLI, that receives a Byte Array and a int. On my managed method I need to call a unmanaged funtion from a C header file, and that functions receives a Char *. However, when I call the function the return is not waht I'm expecting, and I thing that there might be some problem with the data that I'm sending. Can I peform this operation to pass the char * to my C function pin_ptr <Byte> aux = &buffe ...Show All

  • Windows Forms Tooltip redisplay issue

    I have an issue with tool tips being redisplayed once a checkbox is checked/unchecked or a radiobutton is selected.  The tips display just fine initially. Steps to reproduce: Create a new form Drag a checkbox on the form Add the following code to the Load event of the form: ToolTip tip = new ToolTip (); tip.IsBalloon = true ; tip.ToolTipIcon = ToolTipIcon .Info; tip.ToolTipTitle = "Sample ToolTip" ; tip.SetToolTip( this .checkBox1, "Hello there" ); Run the app. Hover over the checkbox to see the tooltip Check the checkbox Hover over the checkbox again...no tooltip is displ ...Show All

  • .NET Development serialization stopped working? help! invalidoperation

    Hi. All of a sudden just now the serialization I have been using on my test environments seems to work but when implemented into another project, they have stopped working, this is without me modifying any code. I have a server, and it serializes all objects and sends them down the wire to the client (smartphone running WM5 and .NET CF 2.0) This worked fine until just now. I get an invalidOperationException on the client when it tries to deserialize. This is the line of code where the exception is being thrown on the Client: ProgrammeTimes [] temp = ( ProgrammeTimes [])theXmlSerializer.Deserialize(theStreamReader); &nbs ...Show All

  • Windows Forms mysterious menus

    In my MDI main form, i have a menu of a couple of items. when i display a form from the main menu, it displays fine. when any form is active in the mdi app, and i want to show another different form from within the main (mdi) form, the menus on the main form "arrow out --->" to the name of the form that is alr ...Show All

©2008 Software Development Network