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

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

mcaine

Member List

eman1975
Abdul Basith
vidalsasoon
Terry A. King
NewWorld
danych
Mega Egypt
Code-Master
nagajim
Carl Daniel
el_co
progames25
Bigmo
Grayson Peddie
jrp210
elmira
M.Yaseen
Ready4u
kunal.pandya
ivanchain
Only Title

mcaine's Q&A profile

  • Visual Studio Express Editions Nested loop

    Ok i got a book and this eludes me. here is m situation the textbox name is JAN01box and there are actually quite a few of them. What i wanted to figure out is how to read the "01" in the box then set up a nested loop to adjust text or add text or whatever. ...... how do i read through textbox names with a nested loop. Please assist... i have a few hrs trying to accomplish the task Shihan Not exactly sure what you are after but hopefully this code snippet will help you: Dim TheTextboxes As New List ( Of TextBox ) For Each c As Control In Me . Controls If TypeOf c Is TextBox Then Debug . WriteLine ( c . Name & " : " & ...Show All

  • Smart Device Development windows media player for mobile ...

    hi , i am new to windows mobile and wanto develop an application which will play next and previous song in windows media player in windows mobile . can anyone help me . anujshailgupt ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA

    Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too redshock wrote: Edit: I'm going to go ahead and use XNA. Sure, it may not be the fastest thing in the world for making games such as Oblivion, but if it's any company that can boost performance heavily in later versions, it's Microsoft. It has already been seen with DirectX and DOS, so I'm comfortable enough to say why not. Version 1's are usually "out the door" products. I shouldn't speculate too quickly, but it'll do the jo ...Show All

  • Visual Basic BackgroundImage, Flickers?

    I have a screensaver where I want the BackgroundImage of the form to that of the Desktop. The code below works but flickers like a demented flashlight! how do I stop this Dim screenSize As Size = New Size( My .Computer.Screen.Bounds.Width, My .Computer.Screen.Bounds.Height) Dim screenGrab As New Bitmap( My .Computer.Screen.Bounds.Width, My .Computer.Screen.Bounds.Height) Dim g As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(screenGrab) g.CopyFromScreen( New Point(0, 0), New Point(0, 0), screenSize) screenGrab.Save( "C:\SaverSupreme\Bgscreen.bmp") Me .BackgroundImage = New Bitmap( "C:\SaverSupreme\Bgscreen.bmp" ) Try setting the forms doublebuffered ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Doom/Wolfenstein 3D Ray Casting, how can it be done in C#?

    I searched on here for anything about this and all I've come up with is information for 3D examples, now I don't want to try my hand at a 3D FPS but wanted to experiment with the old 2D Raycasting technique, are there any tutorials or information for simple raycasting math in C# Paradoxically, I think you'll find the easiest way of making a Wolfenstein style game these days is just to use regular 3D meshes with textured polygons, and just not include any slopes in your floors or ever tilt the camera! Modern hardware (and the XNA libraries) do a ton of stuff to make rendering 3D meshes easy, so if you build a level in a modelling tool, you can render it really quite easily to the screen. Doin ...Show All

  • .NET Development Checkedlistbox XML Attributes

    Hi, I am listing xml attributes in a checkedlist box. CheckedListBox2.Items.Add(xmltxtreader.Name) but I need to add the value of the xmlattribute too. There is a way to read the selected item value from the checked list box selectedvalue = CheckedListBox2.SelectedValue but I didnt find a way to add the value to the item. I want to add the Attname and its value to the checkedlist. Thanks, Vidya. Create a class that stores both the attribute name and the attribute value, and add instances of that class to CheckedListBox2.Items. See the sample code at http://msdn2.microsoft.com/en-us/library/system.windows.forms.listcontrol.displaymember.aspx . Hope it helps, Anton ...Show All

  • Visual Studio Express Editions Data Grid Question

    This is from the help Private Sub ResetSource() DataGrid1.SetDataBinding(adoPubsAuthors, "Authors") End Sub I would like to set my Data Source to be based on the results of two combo boxes in my form. I guess my question is, can it be set on a query vice a table. SELECT * from Ply WHERE LN = '" & cmbL.Text & "' and TN = '" & cmbT.Text & "'" I find that interesting as I've done it many times and works well. I've just done a quick example for you. I have 1 MS Access database with these fields: ID, Name, Address I have 5 rows of data. I filled my dataset with data from the database. DataSet shows 5 rows - cool. I then fi ...Show All

  • SQL Server Scripting stored procedure add with Linked Server reference when Linked Server is not available

    Is there a way to bypass the syntax checking when adding a stored procedure via a script I have a script that has a LINKed server reference (see below) . INSERT INTO ACTDMSLINKED.ACTDMS.DBO.COILS ..etc. ACTDMSLINKED does not exist at the time I need to add the stored procedure that references it. PLEASE to not tell me to add the LINK and then run the script. This is not an option in this scenerio. Thanks, Terry use dynamic sql. this one compiles.be warned of the consequences though USE NORTHWIND create proc dynamicproc as declare @CMD VARCHAR(300) SELECT @CMD=' INSERT INTO ACTDMSLINKED.ACTDMS.DBO.COILS' EXEC @CMD ...Show All

  • Smart Device Development how to hangup a call?

    how to hangup a call hi Ilya You said that P/Invoke. what is the 'p' in the P/Invoke Thank you ...Show All

  • SQL Server storing subsriber device info outside NS

    Hi, I am new to NS 2005. One of the business requirements I have is that business does not want to store the subscriber device info like email addresses or cell phone numbers in the NS database. Is there anyway we can accomplish this and still take advantage of NS architecture of delivering emails or SMS Please enlighten. Thanks! ...Show All

  • Visual C# File.Move(string1, string2) error

    System.NotSupportedException was unhandled Message="The given path's format is not supported." Source="mscorlib" StackTrace: at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.F ...Show All

  • Windows Forms Is Form Height limited?

    Why isn't possible set Height value for windows form greater than 1044. When I write bigger value is automatically repaired on 1044. Thank's for any idea. I tryied create new Windows Application project. In a Form1 a try set Size.Height to 1200. It isn't possible because value is repaired to 1044. I need long form and need design it. But it isn't possible and I don't know why. In a new project I don't specify any windows size. May you set Height bigger than 1044 in a new Windows Application ...Show All

  • Visual C# Simple Computer

    I'm trying to create a Simple Computer simulator in C#. Its been going well up until ive reached a point where i need to have actions performed step by step when a button is clicked. A little background: The simple computer is a simulator that helps show students how lower level languages interpret commands. In the program: I have 99 Text boxes representing memory cells, 99 Text boxes representing input cards, 99 Text boxes representing output cards, a text box representing the accumulator (basic arithmatic portion of the simple computer), a text box representing the Instruction Register, a text box representing the Program Counter, a button that manually steps through the program entered in to the memory cells, and a button that should s ...Show All

  • Visual C# Auto launch setup file when CD is inserted?

    Hi, I have created a setup installer package with my application using Inno Setup Compiler 5.1.9. Is there a way to automatically lauch my setup when the CD is inserted, possibly using an AUTORUN.INF file I know this is not really C# related, but someone may know. Thanks again, Please see the following article on the MSDN Library: Creating an AutoRun-Enabled Application ...Show All

  • Smart Device Development How to get the firmware version and hardware version?

    I need to get the firmware and hardware version from windows mobile 5, but I cannot find useful API. Can you give me some hint thx!!! To get a quickl response,please post this query in the news groups mentioned in one of the anouncements Regards Srikanth Bogadapati http://blogs.msdn.com/srikanth_bogadapati/ ...Show All

©2008 Software Development Network