blackwidow25's Q&A profile
Visual Studio code model with partial classes and user controls
i have a few questions that i've been having a hard time with. i'm trying to create a visitor partial class. this partial class will have an add-in maintained part that will mirror the controls present on a user control. to do this, i process the code model on the user control to get at the fields that it has. i also capture the document save event and update the generated part. this all works well when you're dealing with a straight c# project. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HELP!!! DirectX Device error.
I been learning off of Beginng C# Game Programming. Have one major issue i cant get passed. I get a compile error " The Type 'Microsoft.DirectX.Direct3D.Device' Exists in both 'C:\Windows\Microsoft.Net\DirectX for Managed Code\2.0.0.0_x86\Microoft.DirectX.Direct3D.dll' and 'C:\Windows\Microsoft.Net\DirectX for Managed Code\1.0.2902.0\Microoft.DirectX.Direct3D.dll' I have already unstalled the SDK Apr 2006 version and everything f ...Show All
.NET Development Audio Streamer .NET 2.0
Hi, I have a problem,I would like make a audio streamer for a web, but I don't know,whiths libaries should I use.Also I need make web service,web aplication or desktop aplication. When somebody send from a website request to listen some MP3, it has to stream this MP3 and send it to webaplication and winamp or windows media player via special port or domain.Can somebody help me,how can I build it I work with .NET only 1-2 years,but only as hobby. ...Show All
Windows Forms Application deployment directory in VBasic Express
I am interested in knowing on what directory my applications install when using clickonce. On setup projects in previous VB versions your apps were installed on a directory with the name of your organization but I think that has changed, because I am not able to locate the directory where the applications reside once installed. Any help I could get will be greatly appreciated. Hi, The application installs und ...Show All
Visual Basic Background Image Transparency Issue
I am trying to use a background bmp image on my form to set transparency regions. (To make a custom shaped form) The bmp has regions that are completely black. I then set the transparancey key of the form to black, but the black regions just show up black, not transparent. However, if I set the form back color to black, the entire form become transparant, as it should. Why will this not work with a background image. Am I missing something or is ...Show All
Visual Studio 2008 (Pre-release) how can i get colors
Hi can anybody know how to get all available colors into combo box at runtime (using c#) Thanx-Nagu WPF can create a vast range of colors - the color structure can store 16 bits of color information per channel (red, green and blue) - greater than the 8 bits per channel that GDI+ is limited to. Do you mean named colors like "AliceBlue" and "BurlyWood" ...Show All
Visual C# Sending mail with C#
can someone out there please help me. I need to know how to send mail using C#. I have a class that will be throwing parameters (see below): private void SendToAnalyst() { string emailSubject = string .Empty; string emailAddress = string .Empty; StringBuilder sb = new StringBuilder(); //To Do: Instantiate Monitoring Component if (mSourceSystem.ToUpper().Equals("FLEXCAB")) { emailSubject = "Sample RequestId (FLEXCAB To RADT ...Show All
Visual Studio 2008 (Pre-release) XmlDataProvider error in XAML
Hi. I'm trying to bind to some XML in an XmlDataProvider, defined declaratively in the XML thus: <XmlDataProvider x:Key="ImageData"> <data xmlns="" > <text>TEXT</text> </data> </XmlDataProvider> Cider's giving me an warning, saying the XML elements within t ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use onlin ...Show All
Smart Device Development Validating Text box
Hi, In my caluculator application i was using delgates concept. my problem is to avoid entering more than 8 numerics in the text box and to accept the numerics to be entered through the key board. Also it has to diplay the oprerator( 3+5 or 6/2) in the text box. my code is Public Class Form1 Inherits System.Windows.Forms.Form Private N As Double Private ope As Char Private Sub m1( ByVal S As ...Show All
Visual C# Get Time From Remote Server Using C#?
Is it possible to get the time of a remote server using C# The .NET Framework does not have a built in SNTP client however you can easily find one or build your own. I would suggest looking at this one on Code Project . It should be mentioned that in order to use an SNTP client you must have a time server you can connect to. ...Show All
Visual Basic Missing Right and Left String Functions
I have lost my Right and Left string functions. Mid is still present, but Right and Left now refer to the distance in pixels from the edge of a control. How can I get my string functions back again Dim a As String = "now is the time" Dim b As String = Microsoft.VisualBasic.Strings.Right(a, 5) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. commen error
i am trying to execute some codes for directx sdk that i got from a book using Microsoft Visual C++ 6.0 but every time i try compile it detects this error "error spawning or excuting cl.exe" do any one have any idea about it. VC++ 6.0 is quite old and unsupported. Download and install Visual C++ Express Edition (it's free). That should solve your problem (you might need to reinsta ...Show All
Windows Forms event on scaning barcode
hi , i am using vb.net 2003 and i want to scan barcodes with the scaner i want if the scaner completes the scaning doesn't matter what the length is the next textbox is focused i tried it on different events but could not find the&nbs ...Show All
Visual C++ Which Win32 API to use for creating links and shortcuts
I am working on VC++ in a .NET environment. I would like to know which APIs can I use for creating shortcuts/links for a file Thanks & Regards Prabhjeet Singh Use IShellLink. Look at http://www.codeguru.com/Cpp/W-P/files/shellapifunctions/article.php/c7209 ...Show All
