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

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

vbBigNelson

Member List

Yady
Bert from E.care
Ed1112ward
Skafever
Lixin D
esteves_plk
RVRKID
Mauro1971
ZJames Ma
GunasekaranT
Yomi
Adam Willden
Michael Hughes
mdev
Stefan Popov
dhino
Werner Sandner
Papanii
Nathan Jones
Totally
Only Title

vbBigNelson's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. DirectInput

    This program doesn't works, and I don't know why. Explain me please. using System; using System.Windows.Forms; using Microsoft.DirectX; using Microsoft.DirectX.DirectInput; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); Device d; d = new Device ( SystemGuid .Keyboard); CooperativeLevelFlags c = CooperativeLevelFlags .NonExclusive | CooperativeLevelFlags .Foreground; d.SetCooperativeLevel( this , c); d.Acquire(); //<-OtherApplicationHasPriorityException d.Unacquire(); d.Dispose(); d = null ...Show All

  • .NET Development Get connection string from app.config file

    How do i read my connection string from app.config file I also know that connection string is saved in settings.settings, but i don't know how to get value from there either (I found info about this only for vb, not for c#) Here is the app.config file: < xml version="1.0" encoding="utf-8" > <configuration>     <configSections>         <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >             <section n ...Show All

  • Visual Studio Any way to share a folder (not just it's contents) ?

    I was wondering if there is any way (in VSS 2005) to share a folder so that any adds or deletes inside that folder are reflected in all shared versions Since it did not work for me, I assume that it's not possible, but I figured I would ask to see if there was a non-obvious way to do it. Thanks. Brian Hi Brian, I've worked with VSS for almost 9 years and never did it have that option (share file yes, folders - no !) As far as I know, TFS's source control doesn't support that either (more than that - TFS doesn't have a share option for files either). Ido. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Build background out of multiple bitmaps

    I'm using MDX+VB and am trying to build the background map of a simple overhead game. I'm using tiles, though the map doesn't scroll, so I can make custom maps out of ascii files. I'm using the Sprite class and the Draw2D function. I am completely clueless on how to copy two bitmaps (just two tiles for now) into one texture. The methods I see for creating textures don't seem to have destination rectangles, so I could get one bitmap loaded, but what about the second one I also don't want to be building these textures on the fly since the map is static. At game start I just want to write bitmaps A and B to Texture and then leave those fi ...Show All

  • Visual Studio Tools for Office Refedit Control for VSTO

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOLanguageMigrationFromVBA.asp The link above talks about a refedit control that can be used with VSTO. However, it does not appear to be implemented in VSNET 2005 Beta2 What is the status of such a refedit control Has anyone on the list found a workaround / solution / alternative As gsbraun was noting, not having refedit is completely unacceptable. From Dec 2006 to now, perhaps someone has figured out a solution Any help pointers are very appreciated Juan C. (jcmendez@gmail.com) ...Show All

  • Windows Forms how to share icons between forms

    I have many forms which show the same icons on controls. At present each form has its own imagelist which means the icons are duplicated, which seems wasteful. Is there a way of sharing a common set of icons and still have them appear in the form designer I can assign them at runtime of course but I would like to see them at design time also. (sorry if this has been answered before - the search was not working). Best thing to do is use Lutz Roeders resourcer http://www.aisto.com/roeder/dotnet/ to add data to a resource file and use CType(resx.GetObject("MyIcon.ico"), System.Drawing.Icon) in code to retrieve i ...Show All

  • Visual Basic Most wanted code snippets and resources

    Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authoring and sharing code snippets Please reply to this thread with your thoughts. Thanks for your feedback, The VB Snippet Community Team Just to get the discussion going ...Show All

  • Visual Studio 2008 (Pre-release) targetNamespace

    In my WSDL, I see <wsdl:definitions name="MyService" targetNamespace="http://tempuri.org/">. How do I override targetNamespace with my own URI Under .asmx, I did [WebService(Namespace = "http://foo.com/bar/baz")]. The Namespace property of ServiceContractAttribute seems to affect every element except for the root element <wsdl:definitions />. I see this when I hit http://localhost/MyService wsdl. ...Show All

  • Visual Basic textBox -how to ?

    How to program a textBox so that it can only take Numeric value i.e. 0 to 9 and only ".", but no other chracter Hi, If you are talking about a windows application you can use the MaskedTextBox control and set a mask (See the following link for more info on the MaskedTextBox control.) http://msdn.microsoft.com/smartclient/understanding/windowsforms/2.0/features/maskedtextbox.aspx If it is a web form you will need to use a validator control to set a regular expression for the text box. -David Sandor ...Show All

  • Visual Basic Sending email in vb2005

    Does anyone have a barebones example of how to send email using vb 2005 I keep having problems assigning a recipient address. I have a question about the smpthost. First off what is it can it be an IP Thank you ...Show All

  • Visual Studio Tools for Office Intercepting Word's message pump

    Hi; I am working on intercepting Word's message pump to determine when the user clicks on a menu so I can enable/disable items in the drop down menu. (I'll post the code once I get it working.) I am intercepting the pump using NativeWindow. And I can get the OpusApp windo handle. But here is where I am hitting a problem. The OpusApp window gets no specific messages as the menu is first clicked. It gets a WM_PARENTNOTIFY (WM_LBUTTONDOWN) when it is clicked with the mouse - but that message is fired a lot. And it gets a WM_ENTERIDLE if it's poped up with ALT-T (Tools menu) but that fires after the menu is displayed. I then looked at the menu c ...Show All

  • Visual C# Not executing some event

    I have listbox and I use "ItemIndexChange" event to do some action, but i do something else when i click on the list ("MouseDown" event). Events order: "ItemIndexChange", "MouseDown". How can I prevent executing "ItemIndexChange" when I clicked on the list and execute this event when I use keyboard to navigate throught list items. Just be creative and use a boolean flag or something: public class MyClass { private bool _itemChanged = false ; private void listBox1_ItemIndexChanged( object sender, EventArgs e ) { _itemChanged = tr ...Show All

  • Visual C++ Question About Headers

    I want to use VSC++ for programming C. I know C isn't fully support cause the lack of MS deciding not to add the c99 which i believe is stupid. But I was wondering is there a way I can use my own C headers and libraries to build that are c99 and use it with VSC++. I have the Visual Studios Professional version. And change the compiler cause i don't wanna think i spent so much money for this and I can't use it. Cause of this problem. We fully support C-89 (Classic C) and we would support C-99 if there was enough user requests to support it. But almost all the C programmers I speak to are either 1) not aware ...Show All

  • SQL Server Easy Newb Q? Cannot find data type xml?

    I'm simply trying to create a column of datatype xml but I can't. I'm in Microsoft SQL Server Management Studio 2005. I have all other datatypes except XML... I thought it was supposed to be "built in". CREATE TABLE T1(Col1 int primary key, Col2 xml) gives me Column or parameter #2: Cannot find data type xml. I copied that straight out of the help. I must be missing something really simple here such as an "Enable XML" in a properties window somewhere Thanks! You are in SQL Management Studio 2005 but are you sure you are connected to a SQL Server 2005 instance ...Show All

  • .NET Development WSE and unmanaged code

    Hy, I would like to know if it is possible to call from unmanaged code methods exposed by a Web Service using WSE 3.0. Thanks, Sebastien here is an article for calling Web Service from MFC. http://www.codeproject.com/useritems/CoolWebServiceClient.asp It may be helpful. Code is specifying using Web Services from MFC. I dunnot think using WSE 3.0 Web Service is going to make any diff. in the approach apart from the proxy class inheritance. ...Show All

©2008 Software Development Network