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

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

WholesaleElectric

Member List

szobi
BStarDev
ErnestT_MS
vcboy
jason.adams
Marc-Alexis Cote
Wurschti
William Christenson
pothik
imok
S.Bj-m
erMayank
VFP Developer
Jason Manfield
Jerry Long
wildlife
Josh_R
JohnWC
S Collins
Malcatrazz
Only Title

WholesaleElectric's Q&A profile

  • Visual Studio 2008 (Pre-release) Problems with WCF

    Hi everybody, I have a problem with Indigo. I have installed the WinFX following the instructions. Then I try to build the first application. I open VS2005, new WinFX service and I have the defaul application. Run application and I receive that I am not authorized to view this page. Instead the other applications (ASP.NET and Web Services) run right. Where is the error Thanks, luca Luca: You do need a couple of things: 1) Ensure that your code is compiling into the bin directory not the bin\debug directory. 2) Ensure that the directory in an IIS virtual directory. 3) Ensure that a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Releasing - does the DirectX version installed matter?

    Hi there. I have just finished a game and I would like to know the following. Currently I have only DirectX SDK February 2006 installed, but lets say the user has another version of DirectX installed, will it be able to run the game This is a 2D game. Do I need to install all the SDK versions so the game will work on all 9.0 version or what Do I have to do something like that so I can be sure the user only has to worry if he has DirectX 9.0 installed. I really don't want him to worry about anything else. It depends. If you are in C++/Native and you don't use d3dx then any version of DirectX 9.0c will have all the files you need. ...Show All

  • Windows Forms selecting records with a null value

    Hi, I am using vb.net to access sql server table and want to return rows with a null value in certain fields. Is this possible -Mike The DataGrid control will show "Null" values (so will some other data specific controls).  The Null issue comes in setting, say, the Text property of a TextBox or Label. You don't use IsNull() to c ...Show All

  • Windows Forms dropdownbox in datagrid

    Hi, How can I have a dropdown box column in a datagrid Thanks, Check out the DataGrid SyncFusion FAQ http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx . -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • Windows Forms Displaying images on a form using code

    I was looking if someone can give me some help with my code. I need to know what the best way would be to have a dialog box that returns an array of image filenames and use that array to create a new picture box for each image that was selected and display it on the form Should i use a for loop or a foreach loop I think I just need help figuring out the best way to create a new picture box for each image. What I plan to do after the images are displayed on the form is let the user select which images he would like removed. Once all the he wants are selected and displayed on the form I will then copy the images to a new directory. Here i ...Show All

  • .NET Development SocketStream Comunication is not working in the release mode

    Hi people, I wrote a Server-Application using TcpClient and TcpListener then I use a GetSteam to make a StreamWriter and StreamReader, so my comunication between Client and Server works, but only in Debugkonfiguration not in Releasekonfiguration. In the Release the Server accepts the Client i.e. the Socket is created but I can not send messages by the StreamWriter or StreamReader, when ever I Flush the message. Is any thing I can do to solve the problem thank you for answering ....... Can you try without using the stream writer and stream reader There may be associated buffering and locking ...Show All

  • Windows Forms how to see recently openfiles in file menubar

    i developed a "File" menu there is a "Recent File" menu item where i want to show the recently open files list .pl help me regarding this topic. This is called as Most Recently Used (MRU). If you hit search in codeproject, you can get hand full of classes that discussing MRU, here are few examples: http://www.codeproject.com/csharp/mrumenu.asp http://www.thecodeproject.com/csharp/mrumenu.asp Regards, -chris ...Show All

  • Visual Studio Tools for Office COMException, when I try to add controls to DocumentActions Pane when Document Map pane is visible

    Hi, App being developed in Word 2003 with VSTO 2.0 customization. During doc load, we add controls to the Document Actions pane, through a code like this: //Code for Adding the controls to the Actionpane and setting the stckorder ActionsPane.Controls.Clear(); ActionsPane.Controls.Add(objAttributePane); ActionsPane.Controls.Add(objActionsDropdownList); ActionsPane.StackOrder = Microsoft.Office.Tools. StackStyle .FromTop; This works fine in all scenarios except the following: 1. Open a word document 2. Make Doc Map visible 3. Now save and close the document. Next time you open any word doc, Doc Map pane would be ...Show All

  • .NET Development getting "size on disk" of compressed files

    Hi, i'm searching a way to get the "size on disk"of a file  with vb.net e.g. a file with 11 Byte data uses 4096 Bytes on disk (cluster-size) and a compressed 1MByte File uses 400kByte on disk. We need this information for reporting disk-usage to our customers. FileInfo.Length will return this information. See more here: http://msdn2.microsoft.com/en-us/library/system.io.fileinfo.length(VS.71).aspx ...Show All

  • Visual Basic COM Interop, Property Get,Let,Set Interface Attribute?

    Hello, We are in the middle of a rather large piecemeal upgrade of our VB6 system to .NET 2.0.  We started in 1.1 and have sence migrated that code to 2.0.  We have done a few of our libraries to this point, and are gearing up to upgrade a lot more of them in the next month or so.  We ran into a problem in our first library that required a rather nasty fix and I was hoping someone could point us to a better solution. Problem:  The problem we are having is in VB6 we defined many properties of type Variant for the sole purpose of being able to store Null.  These properties are typically used t ...Show All

  • Smart Device Development API for GPRS signal

    I need to read from GSM/GPRS modem of my pocket pc the GPRS signal. Which are the API to use I would prefer not use the openNETcf class, and I use vb.net 2003. thanks Nicola there is very little to help you with this, I think you will maybe have to use openNet. As you are using vb.net 2003, you can at least use the free version! ...Show All

  • Visual C# Threadsafe incrementing value

    Is the following threadsafe, and if not how should I achieve the assignment of a guaranteed unique key. I like many others have skipped all over MSDN almost but not quite getting the answer I want. (If only there were more examples for us beginners) class FamilyMember {     private static object LockObject = new object();      private static int _FamilyKeyGenerator = 0;     private int FamilyKeyGenerator { get { lock (_LockObject) { return _FamilyKeyGenerator++; } } }     private int _FamilyKey; public int FamilyKey { get { return _FamilyKey; } } ...Show All

  • Visual Basic Opening command-line app in outlook

    I am modifying an application so it accepts command-line parameters. This part of the code works. Users of the application get automated emails from the application that says "work request 123 with activity xyz has been assigned to you." Currently, they have to go to the application and search for that particular request/activity. I want the emails to also have a command line so the application would open to that specific req/activity. For example \\c:\appfolder\appname.exe xyz-123 The problem is MS outlook (the only email client currently used) ignores the command line portion. How can I get the two to act as one, dispite ...Show All

  • Visual Basic How do make progress bar work on the working interface?

    Hi, I am programming two interfaces for a Windows application: interface1 is the main interface, and there is a button on it. When I click the button on the interface1, the interface2 should be shown. But it will take long time to display the interface2 (the working interface), since the interface2 is doing many computings. I would like to set a progress bar so that the interface2 can display immediately after I click the button on the interface1. After the interface2 display, we can see the progress growing step by step. Could anyone provide a sample program Thanks in advance. Moreover, I use the following codes to make the interface2 ...Show All

  • Windows Forms Font rendering problem (cut-off, spacing)

    Hi, I have a very strange behavior on some fonts like Verdana, size 6.75f. Often the labels simply get cut-off and don't draw fully or there is too little spacing between the letters. See this screenshot: http://www.kingvest.de/prob.png Words like "of this" and "of it" appear as "ofthis" and "ofit" although definitely have a space in between ;) Also, in the lower half of the screenshot, the quotes like 422,86 get cut off although the labels are on autosize within a flow panel. Anybody has an idea why this is Thanks, Tom If you're using VS 2005, make sure you've got Application.SetUseCompatibleTextRendering ...Show All

©2008 Software Development Network