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

Software Development Network >> Mr.ink's Q&A profile

Mr.ink

Member List

marc.friedman
Saranga Amarasinghe
nitinjain26
Docluv
mesanjeeb
tushka
stevenhu
JasonReis
Diego Fernández Santos
klahking
David Weller
JHorn
fbg111
joe joseph
Michael Giagnocavo
VitalyT
SebaM
D.Neptune
Stayron
frozennose
Only Title

Mr.ink's Q&A profile

  • Smart Device Development pictures giving me trouble

    to start off I have 2 hand helds, one has a resolution of 480X640 while the other has a resolution of 240X320. I am developing a system using pictures throughout. The problem that I am running into is that I cannot make the pictures fill the screen. If I develop the images for the smaller one, they show very small on the larger one. and if I design my pics for the larger one, they are to big for the smaller one and it cuts part of the picture off. What I am wanting to do is be able to design all the pictures for one (either or) and make the pictures shrink or enlarge to fill the screen. Both hand halds are Ipaq. if that makes a difference ...Show All

  • Visual Studio VSS 2005 hang while server configure!!!

    I just installed new VSS 2005 and made new folder (for VSS). When i trying configure server (Server -> configure option ) VSS 2005 hang!!! After that i am manually install VSSWebService, make Download & Upload folders, write key in config, rewrite *.ini with new settings at the <newDB>folder. While i trying to add new source safe files to VSS throw VS 2005 - vs hang . what`s problem with I suspect it hungs on attempt to connect to the localhost on port 443 to check if SSL is available. Try navigating your IE to http s ://localhost Does this work Could you open a bug for this issue on MSDN feedback s ...Show All

  • Windows Forms CheckBoxColumn Problem

    Hi, I'm using Visual Studio 2005, with C#. I have a datagridview with a modified checkboxcolumn, I have a class that inherits from Checkboxcolumn, and add a textfield to it. My problem is that when the user selects the checkbox the datagridview automatically adds one new row to the DataGridView. Any ideas of what might be wrong Thanks in advance for your help. Regards Luis Filipe de Sousa Hi. Actually the problem isn't with my custom control. I'm using the grid in the unbound mode, and I always got an extra row at the end of the grid. I checked my datasource and it don't have an ext ...Show All

  • Visual C++ Trying to reset USB port

    I have some custom built computers that must have something wrong with the USB ports.  About 80% of the time when I turn the computer on only half of the USB ports detect a device and I have to manually unplug and re-plug the devices plugged into bad ports. I would like to write a small utility that upon start-up will iterate through the USB ports and disable and then re-enable them. I can't find too much info on this elsewhere.  I apologize if I am asking in the wrong forum.  Thanks very much, Taylor devcon is a command line utility which can disable/enable any device. I discovered that some older NEC chipset 2- ...Show All

  • Windows Forms OLE calling and STAThread

    I have an custom control, defined in class library that dynamicly constructs context menu, and makes "Paste" item visible only if there is any text at Clipboard (..GetDataPresent(..)). Main function is attributted as STAThread, but when void of Menu forming is calling it cause following exception: "You must set STA threading model for making OLE calls, check tha ...Show All

  • Visual Studio Creating SQL Server Project by automation issues

    I'm trying to create a SQL Server Project by automation. So I started prototyping using a Macro. I know the connection string for the project so I don't need that the "Add Database Reference" dialog appears. So I created my template with a connection string that after I need to set by automation. 2 issues: 1- When I use Solution.AddFromTemplate(...) the "Add Database Reference" appears. I suppose that the problem is that the ConnectionString is not stored in the csproj, it is stored in the csproj.user. 2- After I created the project the "Connection" properties does not belong to the project.Properties collection. Is there a way to do t ...Show All

  • Windows Forms What is the proper way to change what ListBox.Items holds?

    In an effort to get rid of VB6.Get/SetItemData from a VB6 project upgraded to .NET, the project has been changed to use custom object classes (e.g., with Name and Data members) in collections. This works fine, but has the performance-overhead and type-unsafety arising from the ListBox.Items member being a generic ObjectCollection . What would be better is to create a subclass of a Listbox that is exactly the same as a normal one, except with a type-safe collection for the Items member instead of a generic object collection; that is Items should be a System.Collections.Generic.List(Of SomeType ) rather than just an ObjectCollection . I have ...Show All

  • Windows Forms Cross-thread operation not valid...

    Hi all, I have one project that run well on Visual Studio 2003. When i using the same code in isual Studio 2005, this is: public void port_OnRead(string Data) { // Note! // To convert from string to byte[] use SerialNET.Port.StringToByteArray() if (Data == null) { // Timeout } else { byte[] myBytes = ConvertStringToByteArray(Data); hexString = BitConverter.ToString(myBytes); // Replace the - seperator for an whitespace hexString = hexString.Replace("-", ""); label1.Text = hexString; } it have error at label1.Text = hexS ...Show All

  • Visual C# "Layer of Abstraction" Confusion

    Hi folks, I'm trying to understand what events are, and primarily, why and when to use them, however, I'm having a little trouble understanding the subject. I hear a lot of people saying that events are another layer of abstraction, but I don't actually know what that means. I've tried Googling around, and I have found some sites that discuss it, but they seem to be talking to people who are CS graduates. Could someone explain the concept in simplish terms to me please I hate the fact that I'm shying away from what seems like a major language feature. Thanks in advance. Hi, As I see it, the ...Show All

  • Visual Studio Team System Need more inherent labels

    TF teases use with the cryptic version spec "T" but I want more.  In general I would like to see more "inherent" labels and make them more readable than "T".  I want HEAD (what you call Tip), BASE (unmodified version of file in my workspace) and PREV (from BASE back to previous changeset).  Pretty often I would like to be able to do this: tf diff /version:BASE~HEAD foo.cs BTW, "tf diff /version:T foo.cs" doesn't work because it diffs against my modified version.  I have to figure out the version of BASE and do this: tf diff /version:C40~T foo.cs Blech!!!!  Common scenarios should be easier than this.& ...Show All

  • Visual Basic Problems installing VB6 program onto other computers...

    Hi, I've made a program in VB6, with ADO and an Access database. Now I've made a setup program with the package deployment wizard to install the program on other computers.  When I start the setup on a windows 2000 system, It starts with copying 7 files and then gives the message:    "Setup cannot continue because some files are out of date on your system.Click    OK if you would like setup to update these files for you now. You will need to     restart Windows before you can run setup again." So I click OK, restart the system and run the setup again and It just gives me the same m ...Show All

  • Visual J# hi

    Hai ,,,, a simple Question ... Is there any similiraties between C# and J#... Yes, you are right...if you compile code written in a language that runs on .NET, Then the compile code (called IL) can run on any machine that has CLR. ...Show All

  • Windows Forms Connect ClickOnce WinApp To SQL Server

    Hi : I'v published a WinApp which using the xsd file abilities to connect sqlserver database . Installation on the client computer was successful. While first open my app. on the client machine it throw an exception s that it cannot connect to the sql server. Is there any ClickOnce solution to this problem (I don’t want to allow the clients direct access my sql server…) It should be web like. The clients get to the site and the site get to the sql server… The only solution I can think of it's web service which return DateSet from the server but then I'm losing all the xsd abiliti ...Show All

  • Windows Forms AxWebBrowser

    I have a VB.NET application that renders an aspx page using an AxWebBrowser control.  Is there a way to save the rendered page as an html document Thanks in advance I am using the the AxWebBrowser to display a PDF file in my windows application. Further I would like to save the same file without prompting the user. I tried the following code: wbDisplay.ExecWB(SHDocVw.OLECMDID.OLECMDID_SAVE, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref locationOb ...Show All

  • Visual Basic Expression evaluating to -1.#IND ?

    I am performing following calc, where result if declared as double result = (a - b) / b Now (1-0)/0 results in 1.#INF, which i can check using Double.IsInfinity method, but (0-0)/0 results in -1.#IND, what does IND means, how can i check for expr evaluating to -1.#IND there is no Double.IsIND method. Please help. Thanks Hi, Use the double.IsNaN() function, IsNaN stands for Is N ot  a N umber...    double a = 1, b = 0, c = 0;    double result = (a - b) / c;    if (double.IsNaN(result)) {       Console.WriteLine("Is Not a Number");    } ...Show All

©2008 Software Development Network