Build A Menu From Multiple Xml Files In A Central Location?
Nov 1, 2011
I am wanting to build a menu from multiple xml files in a central location this will be to help with adding crystal reports after application has been deployed to an end user.I am able to get the list of all the xml files in a folder it is just the adding the ReportName to the different menu buttons i have set up.
Dim dirs As String() = Directory.GetFiles(Application.StartupPath & "Reports", "*.xml")
Dim dir As String For Each dir In dirs Dim xe As XElement = XElement.Load(dir)Next
View 9 Replies
ADVERTISEMENT
Aug 19, 2009
We have several VB.NET websites running internal applications. These sites are often modified with minor changes, and are maintained on the server as uncompiled code. I'm looking for the best way to maintain classes so that we can reference them from multiple websites.
Specifically, we're looking to put some common functions (error logging, common database calls, etc.) into a centralized location where they can be maintained separately from the sites and called as needed. And we'd prefer to have this on the server as uncompiled code, so it can be uploaded without precompiling. I feel like I'm missing something obvious, but what is the best way to set this up?
View 3 Replies
May 8, 2009
I have an application which writes to and reads from a database. I'd like to be able to have the application installed on a number of computers with the database installed on a central server which all of the applications will connect to.
first of all, installation (installing the app is simple, but how can I get an install program to put the database on the server?), and next, concurrency errors?
I understand that having more than one person trying to update the database at the same time is likely to cause concurrency errors, but short of deploying my application and having everyone try to write to the database at once, I'm not sure how to approach this.
View 8 Replies
Jun 22, 2009
This is the situation: i have the central location with the main computer,and 14 distanced locations connected in VPN and often we need to update program manually (on distanced locations) by overwriting the existing .dll-s of the program and this is pain in the ass to connect remotely to 14 locations and on each workstation overwrite the .dll files so i want to create application which is going to be installed on each WS and by running this app it will check the program folder on central computer and if there is any file with newer version then existing one on the WS it will copy it from central computer and overwrite the old file/s on WS. It is a small app with two buttons and progress bar but the main thing is the Update now button because i dont�t know which commands it should commit.
View 22 Replies
Jul 13, 2010
I open a context menu by right clicking it.
It stays open when the cursor leaves it.
I click a main menu item.
The drop down opens at the top left of the screen.
Not under the main menu item I clicked.
I want to search the Internet but can't guess what key words to use.
View 2 Replies
Aug 6, 2009
1. Is there either a program or a way of using vb.net where I can load an image and get a reading of every hexadecimal value for every pixel location in the image? Quick example, sometimes, I'll load an image into Microsoft paint and I try to determine which colors are being used in certain locations of the image but all I can do is guess.
2. If it is possible (especially using vb.net), is there a way to build an image by manually coding hexadecimal values for every pixel location, then, saving the image? The thought here is that I can build my graphic and then try different color schemes until I'm happy with its presentation.
View 5 Replies
Oct 18, 2011
I am trying to build a program that has a Dropdown menu (Combobox) where you select between a list of items like
xbox
ps2
ps3
wii
then once you select one of the options the program will bring you to a new window (In the same window) with a new box that has a list depending on which word you chose earlier. As an example.
If you chose xbox on the first window it will bring you to a window with a new list like
fighting game 2009
fighting game 2010
fighting game 2011
then if you select fighting game 2011 you would get another window that showed a list that had a list of characters from that game.
Guy One
Funny Hat Guy
Big Nose Guy
Dead Guy
Beast Thing
Funny Turtle Thing
Then in the new window you get a selection of options for the character you selected.
Special Skills
Combo Moves
Unlockable Content
Then if you select one of those you get a new window that has the lists. for example.
If you chose Special Skills show the list of special skills like the following.
Uppercut: Down + Y
Face Smasher: Back, Forward, B
and maybe beside the list of moves it could display an image of a Screen shot that shows the move (Or not if it is too complicated).
View 39 Replies
Sep 29, 2009
I am working on building a CMS, my client's specific request was that he should be able to modify/edit the nav menu and its contents using the user interface, I am not sure how to do it.
providing links to articles where I can learn? or even examples that I can implement?
Site2you.com has a template that can be edited pretty easily but I am not sure how they did it
View 1 Replies
Jan 1, 2011
I'm a beginner VB.Net programmer using VS 2008.I'm planning a new winform project whose main form should look more or less like this:
[Code]...
The user can either choose from the Main Menu (by clicking an item) or enter the item number in the textbox. For example, if the user clicks DoSomething3 in the Main Menu (or alternatively enters 3 in the textbox), another form will be opened and hide the main form.What would be the best way to implement it?Specifically, I would like to know how I make so that choosing from the menu and entering a number in the textbox fire the same event.
View 3 Replies
Apr 28, 2011
I am trying to build a nice-looking menu that allows users to select certain items. When they hover over the items, a nice highlight color fades in and then out when they leave the item. Anyways, it looks very nice, but I don't want to have to use a "page" style. (e.g., page 1 contains 6 items, click "Next" to go to the next page of 6 itesm) I'd like to allow the user to scroll through the items. I'll develop my own GUI for the scrollbar, however I have absolutely no idea where to start on actually fitting all of the items into like a 400x200 box, and allowing the user to scroll up and down through the items. The items are actual controls (e.g. each item contains a picturebox, a couple of labels, a couple of buttons collectively).
View 3 Replies
Mar 13, 2012
I added a new application recently and I find there is no Configuration Manager. I went to Tools-->Settings and checked Expert Settings, but Configuration Manager does not show up in the Build Menu. It only shows Build Project and Publish Project. I also tried to add Configuration Manager to the tool bar - it was added, but it is grayed out.
I'm trying to get the compiler Configuration Manager to show up. By the way, all of my 8 other VB 2010 Express projects have a Configuration Manager option in the build menu. However, none of those 8 projects were started as a new application in VB2010 - they were all conversions of old VB6 applications (first converted with VB2008, and then with VB2010).
View 3 Replies
Mar 31, 2009
current version is 2008 I'm trying to build an application with a simple MENU. When the user clicks on a Menu Item i want the container to show some controls, now when the user clicks another Menu Item, the container needs to change and show other controls, and so on with every menu Item the user clicks, one at a time.
I thought of panels showing and hiding for every menu Item clicking, but that would use a lot of memory as ALL the controls would be created, some of them just not showing. I also though of an MDI application, but i dont want multiple forms (with the menu bar) opening inside one form. I just want the actual container of one form to change.
View 5 Replies
Mar 23, 2010
I publish a VisualBasic 2008 windows application, from the Build menu,but when I install it by running the installation's setup.exe, an unusual popup window showing Windows connected to the Internet pops momentarily, and then the application opens and runs.But the application's .exe is not in Start > Programs, or on the desktop, or anywhere.Publishing and installation worked perfectly a few weeks ago.
View 1 Replies
Jan 20, 2009
I'm hoping someone can help me here. I've been having trouble positioning a Contextmenu when a user right clicks a specific column within a Datagridview.
The Contextmenu is just a list of names and whatever name is selected then populates the 'Right-Clicked' Cell. My problem is the Contextmenu appears in the top left of the screen. I would like it to appear where the user 'Right-Clicked'
Here's the code I am using witih Datagridview1_CellMouseClick1
[Code]...
I'm a newbie and it's taken me a while to get it to work this far. I did originally assign a Contextmenu to the Datagridview Column, and it appears very neatly where the user 'Right-Clicked'
Unfortunately doing it this way I couldn't populate the Cell. So decided to use the method that I have posted above.
View 7 Replies
May 12, 2012
I went through 10 pages between 3 searches and none of the topics were even relevant.
View 2 Replies
Jun 23, 2010
We have a menu strip with 4 toolstripmenuitems. In mosue right click i need to show one toolstripmenuitem as dropdown menu. here i am able to show that tool strip menu but it is populating at the top left corner of the screen. I need to set the location as cursor location.
View 1 Replies
May 20, 2011
When I use the Publish command in the Build menu pillar nothing happens expcept for a few seconds showing the wait cursor. This was working a week or two back but I have now installed sp1 for Visual Studio 2010 - is this a bug or is there some way. I can get this working again. I cannot access the project properties either, which is a known problem with SP1, so how to edit the project.vbproj file.
View 2 Replies
Jun 20, 2010
How do I save an existing project to different local location via IDE menu?
View 1 Replies
Sep 8, 2010
how can I set custom context menu location in visual basic 2010:
View 1 Replies
Jan 25, 2011
I have a toolstrip along the top of my program. There is a right aligned drop down button that displays a menu. I have a 2 monitor system, and for some reason, the menu wants to open up on the other screen - the screen the program isn't on. How can I keep this menu on the proper screen?
View 3 Replies
Jan 19, 2009
I have one windows application in that i created multiple exes.Now I am trying to build my application and combine multiple exes to one exe.But i am unable to that can you tell me the procedure to combine multiple exes to one exe and build that exe. If I build each exe seperately the application is also running seperately for each exe.
View 1 Replies
Apr 9, 2009
i want to specify a folder and then have all files from "Temporary Internet Files" copied in to the specified location. I have specified both locations, and yet it fails. I think this could be caused by the fac that the "Temporary Internet Files" is located within a hidden file/s How should i go about copying the directory?
View 3 Replies
Jan 10, 2012
I have a solution that currently has about 20 class libraries, and a dozen different web apps. Each web app shares a site-wide master page, as well as share js and css files.
I need to be able to build & deploy one app at a time, or occasionally update the entire suite. How is this possible with TFS and MSDeploy?
View 1 Replies
Apr 25, 2009
I made an application that uses text files from a folder and i included that folder's path in the code, How can I make the VB take these files with the .exe file and make it work probably?
View 4 Replies
May 6, 2010
In VB 2008 Express, in the top menu, there is "Build" (Between Project and Debug), but it's not there in VB 2010 Express. I tried to find an option for it in Tools, but I can't find it. I can use the Build menu in VB2008 to build an .exe that shows up in the "Release" folder. What can I do to make an .exe as a release, so that I can implement it? If I was to use the .exe in the "Debug" folder, I can only run it in Debug mode.
In VB2010, I can right-click on the area near the toolbar and choose "build", which makes 2 buttons appear. I can click on the Build" button, but it does not create a new .exe in the "Release". Sorry if the solution is really simple, but I am a newbie, and I've only recently converted to VB 2010 Express. I can't believe how difficult this problem is!
View 9 Replies
Mar 4, 2010
i dont know what has happened to my project. it suddenly wont build and comes up with some errors regarding identical signatures. to the best of my knowledge i didnt do anything to it. i was testing some drawing stuff, but it now no longer builds on any of my back up copies either.the error list show errors at line 25 "public sub new() has multiple defs...." and line 34 "Protected overrides sub oncreatemainform() has multiple defs.
Code:
'------------------------------------------------------------------------------
' <auto-generated>
[code].....
View 5 Replies
Jan 6, 2009
Can soe one assit me how can i build a flash player that runs flv files..?!
View 7 Replies
Jun 3, 2009
I want to build a recent files list into my program.
The hiearchy I currently have is "MenuStrip>File>Recent Files>File1".
I have a function which saves the files and opens them. It also stores the file name and file path in sperate variables:
CODE:
I would be able to change the text property of the File1 (File1ToolStripItem) to the SaveFileName easily, but how would I make it so that when you click the File1 (File1ToolStripItem) it opens the Savefile file?
I would also need the program to save this list so when I open the program again they are still there.
View 16 Replies
Mar 11, 2011
i was just wondering if in Visual Studio there was a way to put all the referenced DLL files in a separate folder for when you build the project? I'm talking about when you build the project and go in Bin/Release or Debug, i have the exe file along with all the DLL files in the same folder and would like to clean it up and get the dlls in a separate resource folder or something like that.
View 2 Replies
Dec 26, 2007
Running VS2008 working on a customized DotNetNuke version. This issue has come up a couple of times figured I'd see if it's unique to this installation or if it's a IDE bug.
In short I have files that get locked as Readonly and the only way to unlock them is to do a build.
The app I'm working with takes > 60 secs. to build on my box. This error seems to reproduce fairly regularly but you'll need an app that takes a while to build to try it.
During a build try to edit a file.
You should get the error "Cannot currently modify the text in the editor. It is read-only." and a little lock should appear on the tab.
If you wait till the build completes the lock disappears and the file can be edited.
However if instead you cancel the build the file stays Read-Only until such a time as you either restart the IDE or run a build and let it complete.
Looks to me like someone forgot to call the unlock files method in the cancel event handler.
View 7 Replies