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

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

John123

Member List

rapidexposure
Focus
Neetan
Chris Wilson
Lovericky
Larry Surat
Kryor
AndyPham
Michael Klucher - MSFT
Bluehunter
Ujjwal Karjee
Pavan Contractor
ender#
ChristianEhrlicher
Nothingz
Tzal
xRuntime
Alex-MyRpg
Tryin2Bgood
polocar
Only Title

John123's Q&A profile

  • Windows Forms click once deployement for Visual Studio .Net 2003

    Hi All, I'm a windows applications devoloper. I want click once deployement facility for VS.Net 2003. was it possible. If so please provide me required info. Thanks, Srinivas V Hi, ClickOnce is only available with VS2005. However, you can take a look at Application Update Block , which would enable this kind of functionality for your VS2003 projects. Andrej ...Show All

  • Visual C# using _asm in c#?

    Could you make an unmanaged c++ dll and put some assembly functions in it then use those from inside c# through that dll Would you have to marshall the stuff in with interop or no would you actually gain speed by doing this I dont actually need to do this im just curious in case I need it someday. Any time you need to go from managed to unmanaged code will have a performance penalty. Since C++ can compile into mixed mode assemblies it is possible to place assembly (x86) code into an assembly and use that assembly from C# as long as it exposes methods to use in a compliant way. If inline x86 will actually improve performance is something you only can answer after doing tests. What I have seen so far mos ...Show All

  • .NET Development Server.Transfer Demands Unmanaged Code Permission due to HttpResponseUnmanagedBufferElement

    I have some ASP.NET 2.0 code (Subtext) running using Webserver.WebDev that has been working fine for a very long time. I was testing some Medium Trust scenarios and found that Server.Transfer throws a Security Exception. Stepping through the code I noticed that the page I transfer to runs just fine. Once the page is done rendering, an exception occurs as the content is being flushed to the response. In the stack trace, there's a call to System.Web. HttpResponseUnmanagedBufferElement .System.Web.IHttpResponseElement.Send Anyone know why the unmanaged buffer is used instead of the HttpResponseBufferElement This is the ASP.NET Web Services forum. I'd like to move the question to the forums at http://forums. ...Show All

  • Visual Studio Express Editions MsgBox with multiple lines

    piece of cake. line separation is achieved by appending an environment.newline. So If I wanted to write My name is renee and my dogs name is: Kyra The string would look like this: "My name is + environment.newline + " renee and " + environment.newline + " my dogs name is: " + _ environment.newline + " Kyra" There you are. ...Show All

  • Smart Device Development Moto Q emulator problem

    Hello All I have installed Motorola Q plugin but it is not being displayed in the target device list. Can any one guide me how to add it in the target device list Thanks As far as my understanding is concerned, it not owned by us. There will a help link from where you downloaded this plugin and from where you may want to request them for more details. -Thanks, Mohit ...Show All

  • .NET Development Memory in aspnet_wp.exe in Increasing

    Hi Everyone I have one c#.net web application.when i am running the application my aspnet_wp.exe memory is increasing regularly to 200MB.Can i manage the aspnet worker process memory in my application Its urgent.... Regards Saroj Nanda Hi Saroj, I don't know any possibilities to limit the memory usage of the worker process. You should search for memory leaks in your application because this is not a normal behaviour. Maybe you should manually dispose large objects, which are temporary used. Regards Christoph von Ameln ToxicMind Software ...Show All

  • Visual Basic Date. IsDate instead of IsNumeric .

    hi all how can i write Date (dd/mm/yyyy)  in textbox without using Date and Time picker in vb.net in other words how can i use textbox in date format...... and ofcouse the date must be valid. Vimal   ----------------------------------- I've updated this post. :-) Hi, Try this, it appears to work nicely. :-)  I thought i'd emulate the IsNumeric function for a date instead.   Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If IsDate(TextBox1.Text) = False Then TextBox1.Text = System.DateTime.Now.ToShortDateString MsgBox( "Please input a date." , , "Date only please." ) End ...Show All

  • Visual Studio Express Editions How can a class run a function within the class it was initiated from?

    I am reasonably new to C#, but have a reasonable understanding of programming in general though I only began to understand the use of OOP a few months back. Basically I have two classed, Schedule and TrayIcon; the TrayIcon class is initiated from within the Schedule class. Obviously it is easy to set the properties and run the methods of TrayIcon from within Schedule. However I need to run a method defined in Schedule from within Tray Icon. At the moment, when I initialize TrayIcon I write "trayIcon TrayIcon = new TrayIcon(this);" and in the TrayIcon constructor I grab the Schedule object. This allows me to run all public methods of Schedule. Although this method works, I feel there must be a better way of doing it; is there ...Show All

  • Windows Forms Hiding tab pages

    I have gone through the threads available on this subject and have tried the suggested solution. But they don't seem to work. I have design my tab pages with the TabControl using the visual basic 2005 express. I have 4 tab pages on my application, each with a datagridview thing which have connections etc. coded for each. Is this the reason why the tabcontrol.tabpages.remove() way is not working or is it due to the limited capability of the IDE please enlighten this cofused and blurred student.... thank you. All right, I have managed to get it working. It seems that my hunch about the g variable seems to be true. I tried this line and it works the way I want it to work: If g3 = Nothing Then ...Show All

  • Visual C# There was an error reflecting type 'Bpe.Wdo.Process.Package'

    Can anyone tell me what this is all about and why does it happends The code that throws this is: XmlSerializer serializer = new XmlSerializer(typeof(Package)); and the stack trace: at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel) at System.Xml.Serialization.XmlReflectionImporter.ImportElement(TypeModel model, XmlRootAttribute root, String defaultNamespace) at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at System.Xml.Serialization.XmlSe ...Show All

  • Windows Forms Exclude property of dependent files does not persist within .vdproj

    Within a .vdproj I add a number of files to install within the 'File System' editor within Visual Studio 2005. Various dependent files are automatically included. Some of these dependent files do not need to actually be installed and so I set the 'Exclude' property to 'True' for each. I then save the .vdproj and build. When I close the project down and re-open it, the dependent files once again appear within the 'File System' editor, with the 'Exclude' property reverted to 'False'. Setting the 'Exclude' property of these files does not seem to persist between shutting down and re-opening the project. This causes us a problem for successive builds of the .vdproj. Is this a known bug and how do we overcome this ...Show All

  • Visual Studio 2008 (Pre-release) Don't Forget MARS

    If you are triyng to do lazy loading direclty with the objects, you'll get an error when you try to load children cust.Orders.Load You'll need to edit the connection string to turn MARS on MultipleActiveResultSets=true Note - I have only tested scenarios with direct object context access, not queries, so I am not saying you have to do this with queries (yet) But I have to bolt, so thought I'd put this here. The key thing to remember is that while you are enumerating the objects that result from a query there is a DataReader open streaming those results from the DB. If you call .Load on a collection while you still have that DataReader open, then we will need to execute another query which mean ...Show All

  • Visual C# C# Book Recommendations

    This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! I would recommend "Professional C# 2005" by by Christian Nagel et al. (Wrox Press). This is an excellent book for novice to intermediate developers. ...Show All

  • Windows Forms Tab through Tree nodes

    Hi, How to tab through tree nodes in windows form Thanks Balamurugan This was harder than I thought - so I have blogged how to do this, take a peek http://blog.the-dargans.co.uk/2007/01/navigate-treeview-with-tab-key.html Ross Dargan ...Show All

  • Visual Basic Login via Access Database help

    Hi, I recently got VB 2005 and really like the new features. However, I am on an intermediate level learning Visual Basic. For a test project, I plan to create a login form that validates users through an access database located on a server. Basically, there is a set username and password in the access database and I want my program to execute the main program once the user is validated via the database. I was struggling on this for about a week, but I have no idea on how to do it. I can arrange the controls on my form, but I just need to know how to validate the users. Any ideas Hello, sorry to bother you... After reading your post, I realized that your previous code makes sense to me now. So ...Show All

©2008 Software Development Network