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

Software Development Network >> Can-Ann's Q&A profile

Can-Ann

Member List

YorickPeterse
SP534
skinnybuddha
Vadivel
rolandpish
jjbranc
Darren M. Bork
pomp
ChristianBG
Di Wu
Fabio Reynoso
scribework
espirit
Nadav Popplewell
dwj
Pockey
ricochett
Nazmul
zdrae
Brian Kinder
Only Title

Can-Ann's Q&A profile

  • Visual C++ Png does not display properly in GDI+

    Couldsomeone tell me why thispng (http://users.ox.ac.uk/~chri1957/bos.png) will not display correctly using GDI+ It only shows one pixel in the top left corner for me. It displays correctly in all other graphics programs on my PC, including Windows Picture and Fax Viewer (which I assume uses GDI+). Any help appreciated. This is the code I'm using to display the file: PRE.clsCode {font-size:110%;} PRE.clsSyntax {font-size:100%;} TD DIV.clsBeta {display:none;} A:link {color:#0000ff;text-decoration:underline;} A:visited {color:#0000ff;text-decoration:underline;} A:hover {color:#3366ff;text-decoration:underline;} MSHelp\:link {color:#0000ff;text-decoration:underline;cursor:hand;} Gdiplus::Image image(L"C:\\bos.png"); // TRUE ...Show All

  • Smart Device Development serial port

    Hi, Im trying to make a program to communicate with something that is connected with the serial port. The device i wanna connect to the serial port knows several commands. So basically there needs to be a simple connection with the port so that i can put commands in the console and the device reply's me and sets its output on the console. So far i got this: static SerialPort serialPort; public static void Main() { serialPort = new SerialPort("COM1", 19200, Parity.None, 8, StopBits.One); } I hope someone could help me a bit. Thanks in advance! You should configure serial port as needed, Open() it and then call Read*() methods to receive and Write*() methods to send data. You can also su ...Show All

  • Windows Forms tablelayoutpanel and cells

    hi i am using tablelayoutpanel and i had creat some rows and columns.but i have a problem that i can't control a cells. i want to change the color of one cell when the cursor of the mouse in on this cell ...Show All

  • Visual C++ how to add 3rd-party library support into my project for nmake

    Hi, I'm porting a program originally written for Linux to Windows and am using nmake to build my project by 'translating' the GNU makefile to VC++ nmake makefile. My program makes use of a third-party library called 'vs' and let me assume that the vs library is successfully generated and put at 'C:\vx\lib\debug'. Now my question is how to specify library path of 'vs' so that the Visual C++ linker can found and link them into my program. Below is the code segment from the Linux makefile ********************************** LIB_DIR=/usr/local/vs LIB_PATH=-L $(LIB_DIR)/lib LIB_LIB=-lvs -lnr SYS_LIB=-lGL -lGLU myapp: file1.o file2.o g++ -o myapp file1.o file2.o $(LIB_PATH) $(LIB_LIB) $(SYS_LIB) ...... ...Show All

  • Silverlight (formerly WPF/E) Windows SideBar

    Is it possible to run WPF/E in a Windows SideBar Gadget I was hoping to build a demo of a SideBar Gadget that plays video, but I can't even get a basic WPF/E file to render in the SideBar. Thanks! Actually I'm not. :) Windows Sidebar gadgets are made up of html + javascript. So WPF/E would be a great fit (if I could get it to work). ...Show All

  • Software Development for Windows Vista How to install additional filters into the XPSDrv Filter Pipeline.

    There are a number of references in the documentation that suggest it should be possible to add additional filters, beyond those supplied by the printer driver's manufacturer, to the pipeline. Specifically, the latest Windows Driver Kit (build 5744) says this (on the topic of Filter Pipeline Configuration File): Vendor driver functionality should be primarily in R1 (print processing) and R3 (rendering). You should limit Administrator modification to R0, R2, and RE. The separate regions allow filters from several pipeline configuration files to be combined together in a deterministic way. A separate pipeline configuration can, for example, specify a watermark and an accounting filter that are to be inserted into every dri ...Show All

  • Smart Device Development Smart Devices Explained

    Hi I have to develop a web application which should run on mobiles, PDAs and pocket PCs as well. I need some information as to what is the best platform for developing such an application. I am a .NET person but have never worke on a mobile development project. How is it different from any other web application. Also other then .NET what technologies and platforms can be used for such development. How is it different from mobile application development (i.e. non web based). My boss is asking me to look at LAMP , J2ME or any other platform for this, are they good What are the benefits of using other technologies over .NET. Any other information in this regard will be highly appreciated. Regards Amit ...Show All

  • Software Development for Windows Vista Windows Vista beta 2 boot menu uses a screen mode not supported by some monitors.

    I cannot see the Windows Vista beta 2 boot menu on my Xerox XA-3 LCD monitor. The menu works with an older monitor. Since the LCD monitor is quite recent, I expect Windows Vista to be fully compatible with it. From what I can see on my older monitor, the Windows Vista boot menu uses a graphical screen mode, or at least a non-standard text mode. Previous versions of Windows used a text screen mode (80 x 25 characters) which works on both monitors. Why not continue to use the text mode im afraid these are the wrong forums to post your question in as these forums are for .NET software development. Best place is over at the appropriate newsgroups: www.microsoft.com/communities Also remember, Vist ...Show All

  • Visual Studio Express Editions cannot switch to debug-mode

    Hi everybody, in my VS C# 2005 Express I cannot switch to debug-mode any longer. The respective pull-down in the toolbar is shadowed and the menu-entry for the configration-manager is not available at all. What has happened Thanks for you help. Regards, Holger. didn't try that because... <see next posting> Figo Fei - MSFT wrote: Hi, You mean missing If so, go to Tools | Import Export Settings and reset your settings to General Development Settings. Thanks ...Show All

  • Visual Studio Express Editions how can I integrate C program in VB express?

    how can I integrate C program in VB express Regards, Yaniv C++ mangles the symbol. Use extern "C" to stop the mangling: extern "C" double __declspec(dllexport) b5(int x) { return x; } ...Show All

  • Microsoft ISV Community Center Forums Refresh an outlook screen

    Hi I have written a vb.net program to update the tasks folder in Outlook 2003. The problem I have got is that I somehow need to refresh the screen, as is not until you click off the tasks folder and back onto it does it display correctly. We are displaying this on a big monitor to display all our support calls so I would like it to refresh automatically if possible I wondered if I could write anything in vba that could do this. Any suggestions warmly received Regards Andy ...Show All

  • SQL Server ODBC SQLFetch problem

    Hi, I have ODBC code reading data from a XLS file. It opens the file, reads the sheets and columns available, then presents a dialog to allow the user to select which columns are to be used to load the data. All of this works, almost. It is a simple "Select A,B,C FROM Sheet1" using SQLExecDirect When using SQLFetch it always skips the first row of data. Thanks, any ideas would be great. Keith Thank you, adding headers does make it read all the lines. I had tried blank rows that has no effect. This is a reader for a user supplied file I have no control over. ...Show All

  • Visual J# Create a set of checkboxes

    How can I create a set of checkboxes with j# using for or while. Yes, please add a flowLayoutPanel to your dialog box, and add new checkBox controls to the flowLayoutPanels Control. To read out the checked items, run through the controls in the flowLayoutPanel.get_Controls().get_Item() Here is an example: package GenerateCheckboxes; import System.Collections.Generic.*; import System.Data.*; import System.Drawing.*; import System.ComponentModel.*; import System.Windows.Forms.*; /** * Summary description for Form1. */ public class Form1 extends System.Windows.Forms.Form { private FlowLayoutPanel flowLayoutPanel1; private Button button1; private Label label1; /** * Re ...Show All

  • Visual Studio 2008 (Pre-release) Convert UIElement to Image or BitmapImage

    Hi ! I'm currently working on a huge project for a client. The application is fully based on WPF and we use translate, scale and rotation transformation all the time on very complexe interactive WPF UserControls. Unfortunatly, our tranformation animations run really slow and I guess this is due to the number of controls and bitmap effects used on our user controls we"re tryin to animate. I tried to replace the user controls with png images, and it's a whole different world. The application runs really fast (about 15 times faster). So I was wondering if they are any Class or piece of code I could use to temporary switch our user controls to Images when I want to anymate (transform) them, and then switch them back to user control when t ...Show All

  • Visual C++ DLL with C++ - Design question

    Hi, I come up into a question about which method would be better to write my DLL. 1. Write it purely in C 2. Wirte the class in C++, then use C function wrapper 3. Write everything in C++, and export the whole class Can anyone kindly point out the pros and cons of the above alternatives, and if there're other designs, please kindly let me know too. Thanks! Thanks for your reply. I think I will use C wrapper as I want to build API library but I will use C++ as I want to use OOP. What is the best way to design the wrapper architeture I am thinking use static method in the class, and the wrapper will call the static functions. Question: 1. What about create a new instance of object every time when th ...Show All

©2008 Software Development Network