hp39's Q&A profile
Windows Forms Nested InstanceDescriptors (short)
I apologize for double-posting, but despite the view count on my previous post, I have a feeling no one is actually reading it because it is too long. So I am trying again, shorter this time. Basically, I want to have a property on my form that is serialized to InitializeComponent like this: myForm.MyProperty = new MyClass(typeof(MyOtherClass), MyOtherClass.FldMyField); where FldMyField is a constant string. MyClass has a TypeConverter that is doing the design-time conversion between string and a MyClass object so it can be shown in the property browser, and that is all working correctly. The same TypeConverter is also converting MyCl ...Show All
SQL Server Easiest way to get a value in af file into a variable ?
I get a file with some key information delivered to an ftp destination each day along with some files containing rawdata. The file is a csv file containing some short description of what is being delivered. Numrows;pulltime;sourceinfo 25302524;25-01-2006;dssrv34 So the file has columndescription and 1 row with some information. My question is, what is the easiest way to get those 3 informations into 3 variables How about a Flat File Adapter into a script component in which you can load the values into the variables. -Jamie ...Show All
Visual C++ Dependencies problem when building libraries
I'm experiencing a problem with project dependencies in a C++ project, using any of Visual Studio 6, VS 2003.NET or VS2005 beta 2. The problem is that if I have 2 projects that generate library files, and the second project is marked as depending on the first, then when the second library is built it includes all the object modules in the first library. This is definitely not what I want, so I need the ability to turn off this feature. Here is an example of why: Project A builds a library. It also includes some C++ header files that are used by projects B and C. Some of these header files are auto-generated using a custom ...Show All
Visual Studio How to use Generic List in T3
This fails at run time because Entities is unknown despite it is part of my GAT project. Any idea Thanks in advance, Philippe <#@ Template Language="C#" #/> <#@ Using Namespace="System" #/> <#@ Using Namespace="System.ComponentModel" #/> <#@ Using Namespace="System.Collections.Generic" #/> <# /* Retrieve parameters for use in the template */ System.ComponentModel.Design.IDictionaryService svc = (System.ComponentModel.Design.IDictionaryService) GetService(typeof(System.ComponentModel.Design.IDictionaryService)); PropertyDescriptorCollection propDescCol = (PropertyDescriptorCollection)svc.Get ...Show All
Windows Forms extreme n00b
I can't lie, i'm a complete n00b when it comes to most of this, but I really am trying to learn this stuff. I am using one of the VB templates I found off of one of the links someone posted in this forum. So I guess my first question is: When I open VS.net, and choose new->VB project, which type of project am I wanting ...Show All
Visual Studio Team System REFRESH files and TFS
I think I must be missing something as regards how web service projects work in a team environment. Perhaps someone can explain the missing link for me. Upon installation, the default location for Visual Studio projects is within My Documents. Keep this in mind for a moment. When a web service is created that requires an external assembly, you add a reference just like you would any other type of project. For a web service, the file is copied to the local assembly cache and a .refresh file is created. The refresh file contains the location of the original file so that it can be, well, refreshed! So, if you add a reference ...Show All
.NET Development Intellisense for Code Libraries
How can I get a separate VB.NET 1.1 solution to show intellisense descriptions for methods made in a C# 1.1 code library I've looked around for my answer but cannot find it. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=105289&SiteID=1 is great if: You are using C# 1.1 or .NET 2.0 Your class is within the same solution. The Intellisense will work fine in Visual Studio 2005 provided that the proper namespaces have been imported. In Visual Studio 2003 this behavior is extremely buggy and I usually break Intellisense 15 minutes into a ...Show All
.NET Development access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connect using RUN and the IP address. Whenever I try to connect the laptop to the desktop I get the same message; \\... is not accessible. You might not have permission to use this network resource. Cont ...Show All
Windows Forms modifying the contents of datagrid at runtime
hello, How can i modify / Add the contents to the datagrid at runtime pls help Please Explain. Do you mean data in cells if so, you can modifiy the underlaying datasource, or use this datagridname(rownumber,columnnumber) = "hello" Joe ...Show All
Visual Studio Team System Some steps not recorded
Hello, One particular page in my asp.net 1.1 application is not recording correctly. Postbacks on the page caused by: a calendar control set to autopostback clicking the Edit button of a DataGrid EditCommandColumn clicking the submit button the resulting redirect to an html page with a "success" message ... are not recorded as steps (requests) in the web test. The only steps recorded from all those requests are the initial request and then the request back to a start page when clicking on a link in the final html page. There are no custom javascript handlers attached to these controls and other pages usin ...Show All
Smart Device Development VS.NET 2005 BETA2 : Could not establish connection to network
Hello to all! I just create one simple solution in VS.NET 2005 Beta2 with 2 projects: -webservice project (just with default HelloWorld web method) -smartDevice project (who call HelloWorld web method) When I try to call WebMethod the error occurred (I use PocketPC 2003 Emulator): An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional information: Could not establish connection to network. When I write the same code in Windows project everything works OK. I use this code: ----------------------------------------------- localhost.Service s = new localhost.Service() ...Show All
Visual Studio Team System This type of page is not served.
This type of page is not served. Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.asp' may be incorrect. Please review the URL below and make sure that it is spelled correctly. Wat is solution Where are you seeing this WebTest, UnitTest (ASP.Net) Or is it a general ASP.Net problem -- if it's just ASP.Net, then this isn't quite the right forum :) Check out the other forums on this site, there is at least one dedicated ASP.Net problem. ...Show All
Windows Forms oledb select...
Hi, I have this simple access database with one table. This table has two fields: Name (Text) and Age (Number). And in my form I have to textBoxes: the first where the user types the Name, and the second, the corresponding age. My question is: how can I search my table for specific Name (textBox1.Text) so I can retrieve an Age (textBox2.Text) &nb ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. ...Show All
Visual C++ New CRT model? Somone please explain it?
Going from forum to forum, I notice that the term "new CRT model" is often used. What does it mean Someone please explain it to me in a simple manner. Or please tell me where related information is available. It seems to me that many runtime problems find their roots in this concept. Thank you very much. Ted, Thank you for taking your time. Everything you provide me with is interesting and useful! Ted. wrote: I don't know the syntax of the others (e.g. TypeLib, interface, etc) as it has been very very hard to find any documentation for it. I only figured this out by using MSI ...Show All
