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

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

m_umair_85

Member List

Honza N
Steve Jackson
Thryon
Aleniko29139
ElliotHC
Jorijn--
Fakty
Al33327
BobTheBuild
top117
AlfonsAberg
melkor
McWhirter
amendez
Pseudocode
lucerias
MtEvans
M.Glenn
Sarwanan
GrindCrusher
Only Title

m_umair_85's Q&A profile

  • Visual FoxPro How to print the current page in VFP?

    Can we do this in VFP 9 Thanks. I wish to add a new button to print just the current page. sometimes the report contains up to a hundred pages. But only one or two have corrections and need to be printed out. Yes, as was suggested, see the ReportListener Help for examples.... Or you could check the white papers on the VFP website - there are three there, two by Cathy Pountney and one by Doug Hennig http://msdn.microsoft.com/vfoxpro/default.aspx pull=/library/en-us/dnfoxgen9/html/VFP9Reports1.asp ...Show All

  • Visual Studio Team System WScript.Exec + tf get /all hangs?

    I am having issues with TF GET using it under a WScript.Exec command. The get just seems to stop mid-retrevial. The code snipet I am using is below. It just seems to never finish. The TF executable just sits waiting for something it seems that I can't figure out. The command works fine without the script launching it. Any ideas as to what would cause it to just stop getting the files It also seems to always stop at the same spot. -Ed Abshire -- Code -- Sub GetTFSCode(workspace) Dim tfsExec wshFSO.CreateFolder "c:\source\tfsworkspace\" + workspace WScript.Echo "--- Getting latest " + workspace + " to " + wshShell.CurrentDirectory wshShell.CurrentDirectory = "c:\sour ...Show All

  • Windows Forms Calling RaiseComponentChanging causes an error in VS2005

    Hello, I have just converted to VS2005 and after that I'm getting an error when I call RaiseComponentChanging. Here is an example of my code: Dim propDescr As PropertyDescriptor = TypeDescriptor.GetProperties( GetType (Controls.Datalinking.DataLink))( "Editor" ) Me .RaiseComponentChanging(propDescr) txtBox.DataLink.Editor = frmEditor.dtaElement Me .RaiseComponentChanged(propDescr, oldVal, txtBox.DataLink.Editor) The error I get is "Object does not match target type.". I get no error if I comment out the RaiseComponentChanging. RaiseComponentChanged causes no error even though it gets passed in the same PropertyDescriptor as RaiseComponentChanging. Anybody know why this woul ...Show All

  • Visual Studio Express Editions VB.NET or C++, Which is best?

    I want to start learning C++ and I want to know the type of applications that it is best at making and whether or not it is better than VB. I think for business applications then VB is an extremely productive language to get applications built in - with very quick development times. If you communicating directly with hardware devices or need outright performance such as modern video games then the unmanaged C++ will be quicker but you lose a lot of the protection given to you by the managed .NET Environment. Learning to be productive, VB provides a easier mechanism to learn the language and get up an running fairly quickly. C++ takes longer to become as productive. Which is best Neither, they bo ...Show All

  • .NET Development Detecting a router's external IP

    Hello everybody, I'm just getting started in the realm of networking w/ the .NET framework. I'm coding my app in C#, it's just a simple command line server that will listen for commands from an external client. Right now, I'm just trying to get the server, when started, to print out the local machine's IP. However, I want it to print out the address as seen by computers not on my network. So, instead of 192.168.1.XXX, I want it to give me what a website like http://whatismyipaddress.com/ would return. Thanks in advance! There are many ways of detecting external IP of router. One of the easiest if using "web services". However, this method has risk of using because the web service may change anyt ...Show All

  • SQL Server Distributor cannot connect to subscriber

    I am setting up my 2005 Replication system... publisher = 2005 sp1 Subscriber = 2005 sp1 I created a publication for a single table. Then I created the subscription to another 2005 server. Had to add it as a subscriber in the wizard. Told it to do the snapshot right away. Everything seems fine right up to the point where it tries to connect to the subscriber... I get a cannot connect error. I have tried all kinds of security context and accounts for the sql agent to run under but nothing seems to work. I cannot even get a linked server to work. I have the subscriber setup to accept remote connections. I am not sure where to look at next... I never had this issue in 2000. update Since my ...Show All

  • Community Chat Class For DataBase Manipulations

    Hi PPL, I m very new for ADO.NET Here I had Write a class for Accessing the DataBase & for Manipulation It. plz give me for suggestions Or Comments . ...Show All

  • .NET Development Using Internet From C#

    Is it possible to use some .NET library to download a file from the internet automatically to a specified directory Let's say I have an excel chart on my website, and I want to download it to C:// Also, I want to be able to do the same with a web page, i.e., I want to go to www.mywebpage.com/index.html and download index.html to a certain folder by using .NET. Will this take a lot of complicated code Can I just use a .NET library, or must I use Win32 API or something like that no worries. Yes the forum is very dodgy again today so you have to bare with us. Please do come back and mark the answers once the forums are back up. to get the progress bar indication, there have been a few threads here - do a forum search and you will ha ...Show All

  • Windows Forms Running a nested message loop

    I'm looking for a way to start a nested windows message loop in order to perform blocking calls which keep the GUI active and responding. ShowDialog is not appropriate because I'm not interested in the Modal behaviour but only the blocking call... Any ideas It isn't equivalent because as long as there are no messages in the message queue the thread remains in a suspended state (which meens it isn't getting any CPU time) until a message is queued. Have you tried running a loop and calling DoEvents The difference is notable. ...Show All

  • Visual Basic Looping through form controls (simple I know!)

    Hi I'm trying to write something that will loop through every text box on a form but it's not working quite right. The text boxes may be inside containers such as tabpages or group boxes and this is what's causing the problem. How do I loop through every control regardless of if it's in a container Example :- For Each control As Control In Me .Controls If TypeOf control Is TextBox Then MsgBox(control.Name) End If Next Thanks Just cycle through all the controls in a container, and if a control happens to have childcontrols, then add that control to the list of controls that need their children checked. This code may explain it best: ...Show All

  • Software Development for Windows Vista VS2005 with Framework 3.0

    Any idea if I have to reinstall VS2005 extensions after installing framework 3.0 And if I have to, then which version should I install Thanks, Hiten You should uninstall the VS extensions for WF prior to installing the .NET Framework 3.0. Which version of the extensions you need to install would depend on the version of .NET Framework 3.0 that you install. June CTP install from here July CTP install from here ...Show All

  • Visual Basic Adding C++ code to existing VB.NET project

    Hi, I have an existing vb.net project. The development team would like to add new features using C++. I am looking for resources to help me learn how to integrate new C++ (.NET) source into the VB project. Steve Yes...I'm trying to learn how. Resources, howto's, examples, etc are surprisingly hard for me to find. If there are suggestions on learning how, please share them. Steve ...Show All

  • Software Development for Windows Vista Why do we have to make a custom StateDesigner from scratch?

    How can we customize stateactivity designer It would have been nice not to have to make a designer for it from scratch, why was the StateDesigner sealed How can I for example perform an action on a mouse double click on the designer of a stateactivity without having to make a new designer for it There wasn’t enough time in V1 to be able to create and test extensibility for the designer so it was sealed. We are looking into changing this in future versions. ...Show All

  • Windows Forms Property needs an Object-Instance but there is no instance in designtime

    hallo, i have a problem with a property in a window in designtime. There is a custom property which needs an instance of an object as value. But i cannot instanciate this Object at DesignTime, because its a runtime object. What can i do The Error Message occures when try to save the form in which the propertiy is. >> ErrorMessage: "Code generation for property "xyz" failed. Error was: 'Property accessor "xyz" in Object "o" threw the following exception: 'Object reference not set to an instance of an object." Thanks Arnold i solved the problem. I removed the Property which needs an Object which cannot be created in DesignTime. Therefore i need no actuall help, ...Show All

  • Visual FoxPro foxpro dos to visual foxpro 9 conversion

    I am trying to convert an existing application I created many years ago in foxpro 2.5 for dos, but when I try to run my programs I get this error: File 'get_last_key.prg' does not exist. Can anyone help me. I'm completely new to visual foxpro any help will be greatly appreciated. Thanks, bertle The sample code you showed basically sets the function keys to run a program called Get_Last_Key which seems to be missing. This could be either a separate program: Get_Last_Key.prg that you should look for in the project or disk or could also be a function/procedure inside a procedure file. This would be a prg (e.g. MyProcedures.prg) containing several functions or procedures. You "show" them ...Show All

©2008 Software Development Network