What Is The Purpose Of "My Extensions" Tab In Project Properties
Jun 24, 2010Can anyone guide indept what is the purpose of "My Extensions" tab in Project properties. if someone can send me some useful links etc.
View 2 RepliesCan anyone guide indept what is the purpose of "My Extensions" tab in Project properties. if someone can send me some useful links etc.
View 2 RepliesI'm am wanting to create a setup Project and see that there is an option to create a Merge Module Project. The description is not clear to me. That is, it says 'Create a Windows Installer Merge Module project to which files can be added'
View 2 RepliesI have two projects that contain extension methods. One project is implemented using C# and the other is implemented using VB.NET as there are some things I can do in VB.NET that I can't in C# and I want to leverage those features in my extension methods. How can I name the projects to convey their meaning while at the same time differentiating that they are implemented in different languages?For the C# elitists:One of the features that VB.NET supports that C# doesn't:Doesn't C# Extension Methods allow passing parameters by reference?FYI: This doesn't work for reference types, which is what I'm interested in.
public static void LoadFromXml<T>(this T targetObject, string xml)
{
targetObject = _Serializer.DeserializeFromXML<T>(xml);
}
I have a new project , It has two forms, I want to edit the properties so that the second form is the startup form, however, when I go to project properties I see the everything in the application tab is dimmed.
View 3 RepliesI have been searching all over to find some code that will get the Project/Application's GUID. I can see it displayed in the Project Properties and I want to display it on the About Me page as well as use it to check for updates. So how do I get it via code?
View 14 RepliesIn a VB project I can add a resource via the project properties resources tab, or I can right-click the project in the solution explorer, click add, then click add existing item. What are the differences?If I want to add a DLL file and include it as an embedded resource, do I have to add the file via both methods? Only one?
View 1 RepliesI got a legacy solution targeting .net framework 2.0. When I open the properties - Compile tab of the VB projects in VS2008 or 2010, the VS always crashes. Other C# legacy projects are working.I am using windows 7 64 bit. (It's working in the xp mode.)
Activity Monitor Log
infos 50
warnings 0
errors 0
# Type Description GUID Hr Source Time
1 Visual Studio Version: 9.0.30729.1 Microsoft Visual Studio 2010/12/22 12:44:57.002
2 Running in User Groups: Administrators Users Microsoft Visual Studio 2010/12/22 12:44:57.004
3 ProductID: 92357-152-0000034-60049 Microsoft Visual Studio 2010/12/22 12:44:57.004
4 Available Drive Space: C: drive has 139105247232 bytes; D: drive has 284777865216 bytes Microsoft Visual Studio 2010/12/22 12:44:57.005
5 Internet Explorer Version: 8.0.7600.16700 Microsoft Visual Studio 2010/12/22 12:44:57.006
6 Microsoft Data Access Version: 6.1.7600.16385 Microsoft Visual Studio 2010/12/22 12:44:57.007
7 .NET Framework Version: 4.0.31106.0 Microsoft Visual Studio 2010/12/22 12:44:57.008
8 MSXML Version: 6.30.7600.16385 Microsoft Visual Studio 2010/12/22 12:44:57.009
9 Loading UI library[code]......
I am using vb2008,I imported Custom Tool from my other project,It is on my project,But it is showing Below Warning, Not Error..!Warning Could not find type 'VBProject2.AxMSHFlexGrid Array'.Please make sure that the assembly that contains this type is referenced.If this type is a part of your development project, make sure that the project has been successfully built.
View 1 RepliesI have a icon for my application that I set in the project properties window there is a little drop down box to browse to the icon location. While debugging everything is good. Once I build the app and place it on a PC and manually start the app all is good. My app starts with windows and now every time the program goes to start I get an error that the icon cannot be found in the DocumentandSettingUSERNAME folder. So the question is do I have to place my app icon in this folder? In design I have the icon in the binDebug folder and that is were I point to in the Project properties page.
I am using VS 2008 VB.net.
i am trying to add a text file in Debug folder. But when i go to project tab to add a new item, there is no option to add a new item? What part of the setting needs to be changed? Using Visual basicExpress 2010.
View 1 RepliesOkay, so I wrote a few custom ItemTemplates for VS2010 that implement IWizard in VB.NET (4.0). Straight forward enough. They work during my testing, but when someone else deploys and attempts to use any of them, Visual Studio throws an incredibly generic Exception has been thrown by a target of invocation error.
Stranger still, after they open up the project properties and try again... they work. Without changing anything. Anyone have any clue what is going on? Or perhaps even just a way of getting VS to give me a more specific error? I already tried devenv.exe /log but nothing out of the ordinary was there.
Each time I create a program, if I don't change the CPU type to x86 in the Project Properties, Compile, Advanced Compile options, it doesn't work. For example, if I hit the drop down button on a combo box, there will be no data, but after switching to x86, there is data. How does changing the CPU type affect how others (such as when its being graded) view the program? If the program is not run on an x86 system, would it appear to not work then?
View 1 RepliesHow does one gain programatic access to the information that is entered into the "My Project" properties Application section?I am able to pick up the assembly name from those properties, but I haven't been able to pick these up.Below is the line of code that makes me interested in picking this up programatically. I have found that if the name within the quotes for Sections (GenConfig) doesn't match exactly what is entered in those properties, I will get an application error during run time.How do I reference that property?Is there a better way to pick that value up?
Dim applicationSettingsSection As ClientSettingsSection = config.SectionGroups("applicationSettings").Sections("GenConfig.My.MySettings")
I am using Visual Studio 2008 Professional to build a VB.NET console application. I have a text file that I want to copy to the output directory after a build. I would like to create a build event to do that, but I do not see a "Build Events" folder on the property page. Is there a setting where I can get this folder? Or, is there another way I can set up a post-build event to copy a file to the output directory? The folders I see on the Properties page:
[Code]...
I want to know what is purpose of '' in vb ? I have this statement: frontDigitsToKeep 2 and I want to convert it to C#.
View 2 RepliesI just don't understand the OnXXX(). What are they? What do they do? When should you use them?
View 2 Repliesi am controlling the hue and saturation of the backcolor of the form with scrollbars:
Private Sub tbHUE_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tbHue.Scroll
Dim r, g, b As Integer
HSVtoRGB(r, g, b, tbHue.Value, tbSaturation.Value / 50, 255)
[code]....
i would like to know what is the purpose of dividing by 50?
What is the purpose of Interfaces? it's just a collection of properties, method and events which can be used over and over again by different classes. Its no different than declaring the needed method or property in the classes separately rather than using Interface (because in Interface, you have to write the inner working in each classes implementing the interface). Is there a case where an interface comes in handy (I mean cases where Interfaces are absolutely necessary, without them the program won't work)?
View 9 RepliesWhat is the purpose of Public property? why would i do this instead of just doing Public abc as string? [code] Because you may want to do data validation on it before assigning the value to the Private variable. Because you might want to raise an event when the value in the Private variable changes. Because you might later want to make it a ReadOnly property.
View 12 RepliesWhat is the purpose of the function CLine, because it is used in my code and it isn't a member of the namespace it is attached to in the vb6 code pasted straight into visual studio 2005, what would it do in this context:
frmXML.CLine = 1
frmXML is a visual basic.net windows application.
If you mark your application using "Make Single Instance Application" option in the application settings tab and run your application under a GUEST account or a restricted limited/standard account the application throws UnAuthorizedAccessException or CantStartSingleInstanceException.
Take the following steps to reproduce this behavior.
1) Create Windows Form application.
2) Enable the "Make Single Instance Application" in the project properties.
3) Log onto a GUEST account and open the application twice to simulate StartUpNextInstance.
We need developers to reproduce this behavior and post any valuable input if you experience these symptoms.
When posting information please include the following:
a) The operating system version + service pack.
b) The .NET framework version used.
c) Verify this symptom is present when running under GUEST account.
To workaround this issue turn off the "Make Single Instance Application" option ad create a Local named mutex in the StartUp() event.
[Code]...
My app displays a list of records in a DataGridView on the main form. I've developed code for cut/copy/paste for the selected records and have put the code behind Cut/Copy/Paste menu items under a classic 'Edit' menu design, with the standard shortcut keys(Ctrl + X, Ctrl + C, Ctrl + V).
The trouble is, I also want the shortcut keys to work on selected text when I'm editing inside text fields on a record in the DataGridView. So I need the shortcut behaviour to change depending on whether I'm editing a record or selecting record(s).
I am currently reading up on documentation for a possible assignment I might be put on. In a design document they talk about the .exe.config file. They state that its only purpose is to store constants: "Also note that this file is meant to store constants only, it is not meant to write configuration values to (and the .NET 1.1. framework even prevents this by not offering classes/methods to do so). Therefore, configuration is written to XML files using a..."As far as I understand, this is not true. I don't know about .NET 1.1 preventing this, but I remember in my last project that I did write configuration values to that file (I saved GUI contents there). My project was a small prototype, so maybe I did it wrong, but I do not think so...So what is the intended purpose of this file?
View 3 RepliesHow to create a delete in used to delete my sql database from different database without decalre one by one in vb applcation
View 1 RepliesI have a question regarding Select Case. I am comparing different integer in select case for different purpose. I want to run some code on the case when number is not from the list of below mentioned.Can i use this as i mentioned below in Select case?. If not then what does mean. It don't give me any error. Case Is <> 307, Is <> 1, Is <> 12, Is <> 14, Is <> 56ThanksDalbir Singh
View 3 RepliesJust knowing 20 commands i am developing a app?very impressed on myself!Just knowing 10 commands + common sense + special sense each man has i had world most dangerous spy tool....but on my guru & best friend advice i dropped it..but in future will use for good purpose So here is the new scene We are team of workers had blogs,microblogs and other things i decided to create a tool for my self which is like office assistant to assist in our work at office
my tool will do the submission process when we are not in our office
my idea is using a web browser control and do it with vb commands
so kindly think yourself in such position do you agree to do submission task with web browser control or you can do it some other methods?
whats your opinion? what i mean open a website on web browser control submit the details from listbox(which increment on every submission)i think you now got how we are going to do this!!!
so i am need some one advice shall i proceed with this?i had three big challenges
1.Time
2.Yes Of Course Time
3.Ya Time But Time + Work Accuracy
so kindly guide shall i use the web browser control or use method like direct server post?
CODE:
Im making basic application for the purpose of testing the object... Basically when i press the button it sends the info to a 2nd form... when i do the date of registration is set automatically. However the date displays correctly but not the time 12:00:00 no matter what...
I have been wondering for a while what the difference is between the following two:
Public Property ProgressMaxValue() As Integer
Get
Return maxval
End Get
[code]....
if a call to For Each starts by calling the Enumerator's MoveNext, then Current, then MoveNext, then Current, and so on until MoveNext returns a False then it exits, am i right to say that the Reset is never called?initially i thought that Reset would be called when MoveNext returns False, i tried this (a msgbox would come if it was ever called but i got no msgbox at all)
[code]...
if that's the case, what exactly is the use of the reset in an ienumerator, and is it ok to leave it empty, as such
I am finding it is not possible to use GroupBox (for the purpose of grouping radio buttons) in a Windows Mobile Application. Is there an alternative to this so I can group radio buttons in a Windows Mobile App?
View 1 Replies