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

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

AndyQ

Member List

KaiserSozeTR
SWATHI_VS
Johnnylightbulb
donkaiser
Gino Matthew
vito1281
Ed77
MarcNelson
luai7
bigbob
Ben Hall (UK)
johnnyboyc_uk
XiMDeb
Alastair Q
createdbyx
Wings_That_Fly
uma kadagi
Carl Daniel
Amos Soma
awperli
Only Title

AndyQ's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How To Draw Torus(Mesh)?

    i couldnt draw a torus.can u please help me im using C# 2.0 and DirectX 101 thanks a lot, i have used Mesh.Torus but,the camera is showing in the mid of Torus.How can i show a Torus with 3rd person view i think my problem is all about the location of camera. thanks again Take Care ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. OpenGL performance in 2.0

    I am trying to use .NET 2.0 with an application that draws and object with ~70.000 triangles. It is ok in the VS2003, it renders immediately, but now with the VS2005 I have to wait 7 seconds to have the object rendered! I am still using CSGL.dll, .NET1.1 version. Is there any performance problem I read it should run correctly in the loaded 2.0 Framework. I suspect that somewhere in then OpenGL wrapper there is some interop going on that causes huge slowdowns just like the Texture.FromBitmap in Managed DirectX. See http://www.thezbuffer.com/articles/401.aspx There are some workarounds in the bug, and hopefully this will be fixed in an upcoming VS service pack (no idea on any release date sorry) ...Show All

  • .NET Development C# equiv of isdate?

    Hi, How do i check if a string contains a valid date Ex, i have a string ="jan 6 15:15", I want to set the year to 2006, but only if it's not already a valid date as is the case. so, the resulting string should be "jan 6 2006 15:15". but if the string already has a valid date, ex "jan 7 2005", I don't want to touch it. I try to use the datetime.parse inside a try/catch, but i couldn't get it to fail. It keeps setting the date to now(). Has anyone done this before It might be overkill to load the VisualBasic assembly for just that one method, but if you find a need for more than a couple of the VisualBasic namespace methods that don't have direct equivalents in ...Show All

  • SQL Server Something to think about. . .

            Given:       " x   I     ( null   U   VARCHAR(1)) : char(ascii(x)) = x in SQL Server 200x       Prove:      '' should be considered a null in SQL Server 200x   declare @test varchar(1) set @test = '' Select case char ( ascii ( @test )) when @test then ''''' is not null' else 'Q.E.D.' end T  'Q.E.D.'       \ :      '' = null, because char(ascii( '' )) 1   ''     ...Show All

  • Windows Forms IExtenderProvider not working for ToolStripMenuItem

    Hello All! I want to add some properties for ToolStripMenuItem (VS2005 - WinForms): [ProvideProperty ("TestID",typeof(Control)),ToolboxItemFilter("System.Windows.Forms")] [ProvideProperty("TestDesc", typeof(Control))] public class Test : System.ComponentModel.Component, IExtenderProvider { ...... public virtual bool CanExtend(object target) { return (target is Control); } ..... } it works almost for all controls but not for ToolStripMenuItem. I cannot make it work, although CanExted return true for it. Can someone help me I cannot find solution on net kind regards Peter Hello, thank you for your answer, however I have tried to use everything, instead o ...Show All

  • Windows Forms read file names

    Hello, I need to read all the files in current and sub folders and put it into a list box, is there any example in C# I can use // ... using System.IO; DirectoryInfo dir = new DirectoryInfo(path); FileInfo[] arrFI = di.GetFiles("filter", SearchOption.AllDirectories); foreach (FileInfo file in arrFI) { this.listBox1.Items.Add(file.FullName); } path is the full path to the folder you need to search. filter is what kind of files you need to search for. (IE: *.txt|*.log| ect) ...Show All

  • Visual Studio Express Editions Question about the EULA

    Hello. I'd just like to ask, is the EULA just an agreement between the maker of software and the user, or is it actually a legal thing if it is a legal thing, how do you get it Am asking because as am still new to programing I dun't fully understand it, and av still got a lot to learn. Than you. Hello Dman1. Thanx for that. Do I have to get a copy of the EULA of put with any software I make and distridute If so how/were do I get a copy for for Visual Basic 2005 Express Edition to include in my software And Does this count as well if I want to make software as Freeware Am sorry for all the questions Dman1. Am familier with the EULA for the user side (clicking accep ...Show All

  • Visual Studio Team System Error 28806 - TFS Single Server Install

    TFS single server install, not an upgrade, RC.  Near end, receive the error... Error 28806.An unexpected error has occurred. Verify that SQL Server 2005 Reporting Services report server is installed and running, and that you have sufficient privileges to access it.  For more information, see the setup logs.    Here are the log entries. MSI (s) (68!C0) [15:12:07:467]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28806.An unexpected error has occurred. Verify that SQL Server 2005 Reporting Services report server is installed and running, and that you have sufficient privileges to access it. For more information, see the setup logs. 02/10/06 15:12:07 DDSet_Status: Commandline ...Show All

  • Software Development for Windows Vista Is there a managed equivalent of CoCreateInstanceAsAdmin()?

    Better yet, can I build a completely managed component that behaves the same way Yeah I could build a COM component in .NET but something is wrong here if .NET is getting left out in the cold WRT UAC security. Before I get a bloody nose trying: does the system default DllSurrogate support activating .NET COM components http://weblogs.asp.net/kennykerr/archive/2006/09/29/Windows-Vista-for-Developers-_1320_-Part-4-_1320_-User-Account-Control.aspx (the link has details on the necessary registry settings) Chris ...Show All

  • Visual C# Reading words from other windows

    Hi, I came across a dictionary program that runs in the system tray. When you press ctrl+right click on a word in any other window, it displays the definition. I was wondering if anyone could help me figure out how to do that. It's just out of curiosity as it may be helpful in future programs I build. I know how to capture mouse/keyboard events from other screens and use the system tray, but I haven't figured how to recognize a word/string from the mouse pointer position. Thank you, Wing. Thank you very much. I was hoping for something more innate to C# and .NET but I guess using pinvoke should work just fine. ...Show All

  • Visual Basic how can i measure an elapsed time in milliseconds?

    hi, im a hischool student and i'm doing my project for graduation in visual basic. The program is about a way to measure the reaction time. I want to measure that in milliseconds, but I was only able to measure the elapsed time in seconds. How can I measure the elapsed time in seconds! a lot of thanx rorro thank you!!!! I will try it and I will let you know if it works or not! a lot of thanx, ...Show All

  • Windows Forms Particular question about a Setup and Deployment project.

    Hello everybody! I'm quite new to Visual Studio and I'm having a hard time finding out this. I have a working project right now, which installs perfectly. It installs some application files and some help files. What I need now is the help files, instead of being inside the .msi package, to be outside, just in a folder. For example, in the installation folder I have the setup.exe, the .msi package, and the Help folder. So, when I run the setup, I need it to perform as usual, with the only difference that the help files are copied from that folder and not from inside the .msi file. The destination folder of the help files is not changed, so the shortcuts must remain as they are now. In other words, I need the installer to take the files of t ...Show All

  • Visual Studio Team System Need binaries for WAP in sources folder on build machine

    I am building multiple app types in one solution, one of them is a WAP. I have an Installshield project that combines them all into an install package. I have this working on my desktop with msbuild from the command line. It fails when I run it through TFS on our build server. Here is the reason… The WAP binaries are …\<project root>\PrecompiledWeb\... on my dev box. I have pointed my install project here with relative paths. On the build machine the install project is looking for all the binaries in the ‘Sources’ folder, but it is not there. The binaries are in the ‘binaries’ folder in ..\binaries\Mixed Platforms\Release\_PublishedWebsites\<product name>. I don’t mind it being here, but I need it to still be in the s ...Show All

  • SQL Server Flat File With Fixed Length Header and No Delimeter

    Hi, I'm trying to extract data from a Flat File which is as fixed length as they come. The file has a header, which simply contains the number of records in the file, followed by the records, with no header delimeter (No CR/LF, nothing). For example a file would look like the following: 00000003Name1Address1Name2Address2Name3Address3 So this has 3 records (indicated by the first 8 characters), each consisting of a Name and Address. I can't see a way to extract the data using a flat file connection, unless we add a delimeter for the header (not possible at this stage). Am I wrong Any suggestions on possible solution would be much appreciated - I'm thinking Ill have to write a script to parse the fil ...Show All

  • Visual Studio Change a dataset connectionstring at runtime

    Hi, I have two databases having the same objects and an asp .net application that logs to one of them (depends on user login). The problem is the reports connection, because the user can be working in one of the two databases. I don't want to make two equal reports (one for each database) Maybe the best solution is to change the dataset connectionstring of the report dataset. How do I set up the report dataset at runtime Can anyone help me Thanks, At runtime you can set the database to query by handling the ObjectDataSource_ObjectCreated event, and then setting the Connection property of TableAdapter. ...Show All

©2008 Software Development Network