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

Software Development Network >> onkel elton's Q&A profile

onkel elton

Member List

BradDaBug
jpeng
zoujing
Freeky
Pete_M
LeeC22
TL Stephan
Lovens
JMOdom
hgsevinc
Thomas Skovsende
jeffjarrett
pRtkL xLr8r
Peter Richard
mikalush
moemen.ahmed
Leon Mayne
JungleMonkeyMike
Mannequin666
nickisacrazypirate
Only Title

onkel elton's Q&A profile

  • Visual Basic Working with Delimited Text Files in VB

    I am working with vb.net 2003 application which requires me to paste in delimited text files from a database export. My application work fine if I open my delimited file first in WordPad and then copy paste to my application but not if I open the file in NotePad. I would like to understand what is the difference 'structure wise' between opening a delimited file in WordPad vice NotePad. Thanks, Fred ...Show All

  • Visual C# Cross-thread problems with Backgroundworker

    Hi, all I am trying to use BackGroundWorker in my application since there is a time-consuming operation. There is an iteration in the time-consuming operation, for each loop, I need to show the result on labels on the form. However, cross-thread problems occur at this stage...So, I know that BackGroundWorker and controls on the form are not in the same thread, however, I do not know how to get the result from the BackGroundWorker and show it on the form. Some codes are shown below: private void Startbtn_Click(object sender, EventArgs e) {          this.backgroundWorker1.RunWorkerAsync(); } private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) {   &nbs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. loading textures on array

    Hi i am making a simple pool game and have my balls in an array (each ball runs through a class to set the properties. i have a Texture2D property to set the texture so i can set the white ball colour and yellow and red ball colour. however i have set up the array and try to draw but it will not accept the array property as a texture it keeps saying it is of null value even though i have set each of the balls here is the code below as you may understand a little more. //ball class for each ball public class balls { public Texture2D tex; public float x; public float y; public Vector2 v = new Vector2 (); public float r = 12.5f; public float m = 10; } //array of ball ...Show All

  • Visual Basic String Variables

    I want to use a string variable when creating a connection to an Access Database in VB 6.0 so the user can select the file. I have created a form and the code to capture the file path and store it in a variable as follows. g_strFile is stored as "C:\Practice\Stats.mdb" Now I am trying to use that variable in the connection string: Set Db = Ws.OpenDatabase (g_strFile) When I run the program I get the following error: Run-time error '3055' Not a valid file name. Is it possible to do what I am trying Any help would be appreciated. Thanks This is how I would go about it: 1) Connect to the MDB via ServerExplorer, see the connection string from the connection's properties, and ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Extremely low Framerate

    I am getting a very very slow Framerate. I will post the code of my Engine component. It's a GameComponent added to the main component through the Designer. public partial class Engine : Microsoft.Xna.Framework.GameComponent { public Engine() { InitializeComponent(); } public override void Start() { CompiledEffect compiledEffect = Effect.CompileEffectFromFile("Resources/Simple.fx", null, null, CompilerOptions.None, TargetPlatform.Windows); effect = new Effect(graphics.GraphicsDevice, compiledEffect.GetShaderCode(), CompilerOptions.None, null); graphics.GraphicsDevice.RenderState.CullMode = CullMode.CullClockwiseFace; graphics.GraphicsDevice.RenderState.SourceBlend = Blend.Sour ...Show All

  • .NET Development i need help for asp.net tree control

    Hi, Am implementing Asp.net in my project and new to treeview structure concept i have treeview structure which contains one root node and two child node and child node have two leaf nodes with check box control. For example: root note is Destinations Two child node is Belize and Bonaire Belize contain two checkbox control nodes. and same for Bonaire if the submit page.aspx destination=BELIZE (belize subtree s/b expanded). If page.aspx accommodation=SUNBREEZE (destination BELIZE tree expanded and accommodation SUNBREEZE checked) Please help me With Regards S.Senthil Nathan You may want to check Asp.net forums for this question.   http://forums.asp.net/ ...Show All

  • Silverlight (formerly WPF/E) What controls?

    Does WPF/E contain any controls, like button, text box, combo I didn't see any in the SDK documentation. I also didn't see anything that looked like a Table, or FlowPanel. If not then it seems this technology can't really be used to design an application that runs inside of a web browser. You could probably build a button via rectangle objects and click events but I don't know how you'd build a text input control. You could create a hodgepodge application with some HTML controls and some WPF/E graphics but I doubt this would be a compelling user experience; you'd suffer from the inconsistent rendering of CSS/HTML across browsers. It looks to me like the vision for WPF/E has been scaled back - no minimal C# and no controls. ...Show All

  • Visual C# Video and still image capturing with USB cams

    Hello, how can I capture video and still images from a USB cam in C# All what I found is DirectShow, but here is only unmanaged C++ and no still image support. Any help BerW Hi take a look at windows image acquisition http://msdn2.microsoft.com/en-us/library/ms630368.aspx there was also a coding for fun example a while back: http://msdn.microsoft.com/coding4fun/hardware/article.aspx articleid=912546&title=Look+at+me!+Windows+Image+Acquisition Hope this helps you out, please close the thread if it does ...Show All

  • Visual Studio Express Editions Web Control

    My apologies if this has been raised elsewhere. I'm just looking into VB Express 2005 and playing around with some of the features outlined in the tutorials. This is the first tool I've used using the .NET framework. I've put in a couple of buttons (back and forward) on a toolbar that i want to become enabled or disabled depending onm a couple of propertys in the Web browser control (eg MyBrowser.CanGoBack and MyBrowser.CanGoFoward. Very simple code (not exactly as below but does show the principal): If MyBrowser.CanGoForward then tbForwardButton.Enabled = True Else tbForwardButton.Enabled = False EndIf I've but this code in an event handler and it does fire as expected. My problem is that the CanGoForward property alw ...Show All

  • Visual Studio Tools for Office Retrieve Outlook calendar

    Can anybody tell me how does one retrieve an Outlook calendar and store it in a database I would like my app. to detect appointements from outlook, display them in a datagridview in my app., and store the info in a DB. I looked at this: ms-help://MS.MSDN.vAug06.en/enu_kbvbnetkb/vbnetkb/313801.htm#2  and it doesn't seem to be working. Just as I get to the line below, I get an error saying: 'type outlook.application not defined'. Dim olApp As New outlook.application Which namespace(s) should I use to accomplish this. I've already added a reference to the outlook object and am using MS Outlook 2003. Any help appreciatd, thanks in advance. You must build the string so that it pr ...Show All

  • .NET Development codedom CompilerError Column always = 0

    I'm looking to get some debugging information from code that was built with codeDom and while CompilerError.Line and .ErrorText seem right, CompilerError.Column seems to always be 0. Am I missing something Has anyone else seen this of ever received a CompilerError.Column > 0 On a somewhat related note, does CompilerError.ErrorNumber mean anything Entering some incorrect syntax I receive ErrorNumber "BC30205" - can I lookup that error someplace [edited: - ok I found error list in the msdn library, but if anyone knows where I can find the  compiler errors in a list as plain text or in xml it would really tickle me.] /gabe update, this seems to be isolated to VBCodeProvider as CSharpCodeProvider doe ...Show All

  • Windows Forms DataBinding , wrong values

    Hi! I make DataBindings in my app and don't work good, binding controls show erroneous values. I have two DataTables, PersonsDataTable with columns{"ID","NAME","LNAME","PHONE","LANG_ID"} , and LangsDataTable with columns {"ID", "LANG"}. I'm trying that when i change the value in cmb_Combo, all controls changes to the its respective new value, but altought all controls changes its values ... ALL VALUES ARE WRONG !! I don't why, and i don't know where obtain this values, but point to an erroneous register .... i'm desperated, because i thought that was a correct values, and today, by chance, i test the values with the SQLServer ... surprise! Please help. I stoped the code to see the DataTables content and is correct. ...Show All

  • Visual C++ error compiling C2061: identifier _CountofType

    I have a complex application that we are porting to Visual Studio 8 and have run into this error with no solution so far. Note that the error producing code resides in the file: "D:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdlib.h This simple unit test demonstrates the problem as succinctly as possible I think // foo.cpp : Defines the entry point for the console application. // #include "stdafx.h" template < _CountofType, size_t _SizeOfArray> char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; int _tmain( int argc, _TCHAR* argv[]) { printf( "hello world\n" ); return 0; } 1>------ Buil ...Show All

  • Microsoft ISV Community Center Forums macro for automatically creating data labels in excel chart

    Hi all, I'd like to write a macro in for excel to create automatically a chart, i have no experience in this field. I use the following code: Sub Macro1() ' ' Macro1 Macro ' Macro recorded 8-6-2006 by CTW ' ' Keyboard Shortcut: Ctrl+m ' ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.ChartArea.Select ActiveChart.SeriesCollection(1).XValues = "=Sheet1!R1C1:R2C1" ActiveChart.SeriesCollection(1).Values = "=Sheet1!R1C2:R2C2" End Sub This code works well, but i want the following to do: every time pressing Ctrl+m I want the used data for the chart move 2 rows below, so I can visually scroll through the data. for example: Ctrl+m gives chart of: x value: Sheet1!R1C1:R2C1" ...Show All

  • SQL Server Connect to a Novell NDS Datasoource via LDAP

    Hi All, Is there a connector in Connections Manager that can access a Novell NDS tree and help to pull data in an SSIS package Thanks, BIG S BIG S wrote: Is that a connector that I can add to SSIS Once it's installed, you can use a datareader source against the ODBC driver. ...Show All

©2008 Software Development Network