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

Software Development Network >> a.d.m's Q&A profile

a.d.m

Member List

Daticus
2162
xavier_X
Highflier64
Edward Pereira
Lightening
Vjy
Michael.Young
ivanchain
Houng Fan
ammireddy
gajar
SQL New
cplusplus1
irl-barse
Spider-link
Ramakrishnan Thangavel
Peter_vienna
Karin Huber
rbnijp
Only Title

a.d.m's Q&A profile

  • Windows Forms Slow User Defined Control

    I'm creating a custom control that has contained within it a large number of buttons. The code is extremely slow (taking about 12 seconds to display). I've had no success in making it faster. The problem seems to be centered around a single statement: Controls.Add(my_button_ctl); I tried to use the Controls.AddRange(...) member instead of Add(), but there was no speed improvement as was implied in the documentation. If I remove the Controls.Add() call (or AddRange), the display is almost instant. Is anyone aware of a way to speed up a user defined control that contains a large number of button controls In my case there are up-to 550 buttons contained on the control and I would like to get them displayed in under 1 second. The custom ...Show All

  • Visual Studio Express Editions Can't install VC++ Express from .iso on CD

    I downloaded the Visual C++ Express .iso file and burned a CD ROM so I can install it on a machine that is not connected to the network. The PC has VS6.0 on it but nothing after that. I successfully extracted all the files to a directory on my hard drive, then clicked on setup.exe. Part way through, a box pops up telling me to "insert disk" because setup is looking for dotnetfx.exe. It wants me to insert the "Microsoft Visual C++ Express Edition - ENU disk1" but all I have is the CD ROM with the .iso. The dotnetfx.exe file is there, under wcu\dotNetFramework\, so I don't know what's going on! The "insert disk" window will only accept a path to one of my CD ROM drives... if I try to point it to the location ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Project Error

    Whenever i try and open the SpaceWar for windows file i keep getting this error, im new here, so i hope i put this in the right section: Could not load type 'Microsoft.Xna.Framework.Content.ContentSerializerCollectionItemNameAttribute' from assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff". im using Beta 2 and have the latest Direct X and XNA Framework Have a look at https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=911008&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) MediaElement, Playstatus - Playing/Stopped/Paused

    Does MediaElement contain any property that indicates if it's paused or not Thanks, it worked but it feels like alot of work for nohting, ill add my own value instead. ...Show All

  • SQL Server Error during merge web sync

    Hello,    We have 5 subscribers trying to replicate via web synchronization. Two of the subscribers get the following message and the other three are fine. Any ideas on what the problem is or where to troubleshoot Thanks in advance. John Error on client output: The format of a message during Web synchronization was invalid. Ensure that replication components are properly configured at the Web server.   Mahesh, We are having the same problem. The client application is solely 2.0 framework, but the client unit also has framework 1.1 for some other applications not related to the replication process. The webserver is solely 2.0 framework and doesn't even have 1.1 in ...Show All

  • Visual Studio Express Editions Detecting keypress outside the program windows?

    Hello, I am trying to make a keybind program, but in order for it to work, I have to check if a certain key is pressed while another window has the focus, and then simulate what the users has entered. I am successfully able to simulate keypress, but I cant manage to detect it outside the main window. Its a keybind program for the game Grand Theft Auto: San Andreas, so I could check if the name of the window contains "San Andreas", then check if a certain key is pressed while that last windows has the focus, it would be helpfull. Ive searched for ages on Google and MSDN, and I am not able to find anything. Help would be apreciated. Thanks. Actually im trying to read key input in another window, and this window isnt mine... I ...Show All

  • Visual FoxPro About the median of a grouped frequency distribution

    hi, I have a urgert problem about the median to be solved. I have the table like this age_group frequency cumulative frequency 1 18 18 2 24 42 3 39 81 4 23 104 5 12 116 6 8 124 What program code should I write to get the median Thanks. First of all, thanks Alex But this calculation is for the data is ungrouped. Actually, the age_gp is ordered Let me write the table in the detail age_gp age Low Upper frequency cumulative frequency 1 15-24 15 24 18 18 2 25-34 ...Show All

  • Windows Forms Control Array

    Hello to all if i create multiple controls (10 buttons for example), how is it possible to address each control individually usin g indexes button[0].text = "some text"; button[1].text = "some other text "; ... 10x danych wrote: i mean can i have a single function instead of 8 trackBar_ScrollChanged (...) functions Yes sure you can do so, Create a function which's signature's Match with ScrollChanged event handler delegate and for each scrollbar's ScrollChanged event attach the same handler. Just a simple sample: Button b1 = new Button(); Button b2 = new Button(); b1.Click += new EventHandler(ButtonClick); b.2Click += new EventHandler(ButtonClick); He ...Show All

  • Software Development for Windows Vista Microsoft Windows SDK

    After Install SDK http://www.microsoft.com/downloads/details.aspx FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en and success the documentation not support windows workflow foundation can any one help me thanks You have the correct install location. The documentation for Windows Workflow Foundation should be included in this SDK. Make sure this options is selected when you run the install. Shelly Guo ...Show All

  • Visual C++ Code generation bug when throwing exceptions in C++/CLI with optimizations.

    While writing a C++/CLI project using exceptions I've encountered a bug( ) related to stack unwinding and deleting local variables in unreached parts of the functions on the stack. The following code demonstrates the bug. Please compile with Visual C++ 2005 with /CLR and /O2 flags set. In debug mode, the stack unwinds and the runtime does nothing with the local variable str . In release mode, the runtime attempts to destruct str , even though it has not been used. A workaround which in some cases appears to work is to declare str in the scope of the function. In our case this would be very inconvenient. Has anyone experienced something similar We could not find anything on MSDN or on Connect. Output in debug mode: Main test functi ...Show All

  • SQL Server remote connection

    hi guys, i'm trying to access my friend's database from my computer but i cant seem to detect his database though i can detect his server. what i did was i tried adding a connection to his database.i typed in the server name but his database name couldnt be detected. the server name was: WPL\SQLEXPRESS am i missing something here this was the error generated when i tried testing the connection: An error has occurred while establishing a connection to the server.When connection to SQL Server 2005,this failure might be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces,error: 28 - Server doesn't support requested protocol) what does it mean h ...Show All

  • .NET Development MSDiscoCodeGenerator error

    Hello: I can (seemingly) sucessfully add a web reference to a web service in the same solution. The reference.map, *.wsdl and *.disco files are generated correctly in the correct places. However, I get the following 2 errors after adding: 1. The reference is not added to the namespace - i.e., I cannot access the methods in the proxy class programatically at all. If I double-click on the web reference in the Solution Explorer, it just jumps to the parent namespace in the Object Explorer, but no new "child" namespace is created for the newly added reference. 2. If I try to update the web reference, I get the error "The custom tool MSDiscoCodeGenerator failed. Object reference not set to an instance of an object.&qu ...Show All

  • Visual C# Reading from a text file

    Hey! I want to make an Islamic program with daily prayer times but I'm having a big problem. The prayer time changes everyday, but I have the daily timing for the next 12 months (2007). Here is how the text file looks like: (prayertime.txt) Day January Fajr Sunrise Dhuhr Asr Maghrib Isha Mon 1 6:26 7:51 12:22 2:34 4:52 6:18 Tue 2 6:26 7:51 12:23 2:35 4:53 6:19 Wed 3 6:26 7:51 12:23 2:36 4:54 6:20 Thu 4 6:26 7:51 12:23 2:36 4:54 6:20 As you can see the prayer timings are different everyday. Part 1) Now I want my program to read the data from her ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter.Save and StreamGeometry

    Is there a reason that XamlWriter does not serialize StreamGeometry   Even when serializing a GeometryDrawing that contains a StreamGeometry, the child StreamGeometry node remains blank, even though the child Pen and Brush of the GeometryDrawing are correctly serialized. Is this behavior by design Thanks, Fred Vandervelde Thanks Adam! As it turns out, the culprit was StreamGeometryContext.BeginFigure. I had been calling it with 'isFilled = false'. Once I flipped it to true, my StreamGeometries were serialized as expected. Thanks for the response! F. ...Show All

  • Visual C# New Editor

    Requirement: I want to create an application, which should be able to create a file, with the file extension be specified by me. And, when i double click to open that file, it should open it's content in that application. How can this be achieved ( like word,excel..etc) Code so far: For example.. I have created a application with a Richtextbox control to display data,buttons to create a new file, openfile,savefile and to exit. And let my file extension be ".gun". Time to Answer: Now, what happens is i create new file, save(savefiledialog) it with .gun extension. This files gets opened when i open it using 'open(openfiledialog) button' which is present in my application. But when i double this file (which is placed ...Show All

©2008 Software Development Network