I have developed a custom DirectX UI library equipped with everything from buttons to a gridview. I need a screen-layout editor of some sort. It just takes too long to do it by hand, whether through a config file or hard-coding. I could spend a month or two developing a DirectX editing utility, but I don't have a month or two to spend on this. I could possibly justify a week.
Some requirements:
I need to be able to create a new screen I need to place controls such as buttons, textboxes, and containers/windows/etc throughout the screen I need to adjust properties of these controls (Name, Text, Width, Height, Parent Container, etc)
Some of my ideas include:Using VB.NET's form editor... setting up forms and translating the form's control information into game screens.Setting up a web-based editor (seems like this would take more than week... wouldn't it have to be flash based?)Setup a VB.NET win32 editor that allows placement of .NET buttons, containers, etc that correspond to my library's buttons, containers, etc.Is there a best way to handle this?
We have a Windows.Forms.PropertyGrid control that we use to edit application settings. We expose the application settings through a class, giving each setting attributes to control the appearance. An example property definition is shown below:
<DisplayName("Snap Tolerance"), _ Category("Tolerances"), _ Description("The distance (in Points - 1/72"") to be searched for snap points.")> _
I have been researching for a couple of days now and to no avail. Does Anyone know how to make a custom collection that take advantage of the collection editor? I would like to be able to have 3 Color Values, 1 Boolean and 1 String.
I have a problem with a property on a custom property of a class. Here is the actual code for the inherited form
Public Class Form : Inherits System.Windows.Forms.Form Private _Active_Application As Custom.Classes.Active_Application = New Custom.Classes.Active_Application <System.ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Always)> _ Public Property Active_Application() As Custom.Active_Application
[code]....
but when i use a separate class to inherit the above class this property ('Active_Application', not Custom.Classes.Active_Applicaton) is disabled.
I am developing a web site in Visual Basic 2008 using .NET Frameworks 3.5 on an IIS7.0 web server and I am having a problem with a simple error page redirect. Furthermore I only have ftp access to the webserver in a web hosting environment. I am having problems with some errors and not others, mainly error 401 is the problem.<customErrors defaultRedirect="~/Default.aspx" mode="On" > </customErrors> this is the custom errors section of my [URL] file,
I've d/l the DXSDK Jun10 version twice now and run the installation but I still can't find any reference to Direct Music (or even directx) in add reference. So how do you use direct music in VB.Net and W7?
In this case, children includes all the Parent elements and all of the Child elements. What's the best way to grab only the direct descendants of <Root>?
Should I write a LINQ query that selects elements where parent = <Root>? Or is there some built-in method I'm missing that can get this for me?
EDIT: I had some confusion between XElement.Elements and XElement.Descendants. As Ruben Bartelink pointed out, XElement.Elements will give me exactly what I was looking for.
I have a new mac with a windows partition. Have been using for a few weeks and all is well on both partitions. I m now trying to install Cad on the windows side, but it says i need direct3d. I have no idea how to install or what i need to install it.
here's my problem.. i'm using a gridview control, and then i put a select column on the grid. My questions are, how to retrieve the data on one of the field in the gridview and then it will direct me to the another page.. (see example below)
[Code]...
once i click the "select" on the gridview, I will direct to another page(ex, Default.aspx) and then at the same time the value on "LastName" field of the corresponding row which i selected will display on the another page(ex, Default.aspx)
I Know there are a few things i can use for graphics but I want to start a simple game in vb.net. GDI is to slow for a game so What is the modern equivalent to Direct X 11. I know Microsoft released a managed version of direct x long ago but It seems Out Dated now. I've heard about XNA but on their website it says it is used for windows phone and the Xbox
Which is currently the best and fastest equivalent to Direct x for Vb.net ?
i want to print my invoice direct the printer.my invoice have labels only. when users click the print button its shuld show the printdialog and print directly.i am using this code
HTML Imports System.Drawing.Printing Public Class cvn_Invoicefrm_3[code]....
i have only labels.i am getting values from database and assigning to labels.concept of this is the filled form needs to print when users click on button.
I am having trouble getting the total due for businesses to calculate correctly. Especially when I run the program and alter the amount of connections or the number of premium channels.
i use a webpage in my form. the webpage has a simple script used to upload a file.so the user selects a file then presses upload.after the file is uploaded the page is refreshed showing the direct link of the uploaded file.Now when this happens i want the program to 'extract' the link and close the bwoser control.
I'm trying to implement a grid based RPG style inventory (teaching myself by making a game keeps me focused ) and I have an array of "item" objects. Part of this array is a picture box, which I then lay out in code to display the inventory. how to detect when one of these picture boxes is clicked. However, I'm having a little trouble getting my head around the Directcast command.
When a box is clicked, I would like the function 'boardclicked' to pass over not only the picture box, but the whole object it is associated with it, so I can print these values out the screen (detailing the objects name, value etc) [Code]. As you can see, this passes the picture box element of the object, but I'd like to be able to pass the whole structure, so I can retrieve the other associated values.
What I need to do is link the EXE to a dll that is in another directory out there somewhere. But I don't want to use the assembly namespace. I want to be able to set the direct path to the DLL. So basically this is how its setup
J:\AppBar.exe 'The executable that will need access to the C:\testdlls\EnvVarsPro.dll 'The DLL that the executable needs to be able to find.
So far I've come to the conclusion that the answer lays somewhere in the app.config file. This is what I've got for code...
I believe this is setup write. The publicKeyToken is set to null because its not strongly signed and I'm not exactly sure what culture is just yet. But for whatever reason it just doesn't work.You can see a commented line that does work but only if the executable accessing the DLL is in the directory above root. In order to bring organization to my file structure I need to do it with everything kind of put away and not smashed into one directory.
I have a ASP.NET page called admin.aspx that needs to be protected from direct access. I want it to be accessed only when the user enter his name & password in another page called login.aspx I'm working in ASP.NET with Visual Basic .NET 2008, and I have no idea how to do it.
I'm making a VB.NET application with an SQL Server 2005 in the background. Naturally the user can not edit the database directly but will use a number of UI features to be able to add and modify the data.However, there are a few tables that should be easily accessible from the admin interface such as specific information about a vendor. What's the easiest way to let the user edit this data freely? One way would be to use a DataGridView but this could appear complicated to the user, plus I'm not sure exactly when to save the edited data back to the database.
The best way that I can think of is to create custom dialog boxes for adding, deleting and changing the information, but this seems like too much work for such a small feature.
ok got a excel export I need to down load.I must log into the site to get it, special not standard login so I can't automate that.But once I login, I can use a browser to download the file direct from a URL. Works great, but I need to make a program to do this download portion.
I am trying to use direct sound to play a wav file, so I may animate a picture box while the wav file is playing. I have made a device object and a secondary buffer object and when I run the program I get an error message(see attached image), but after I click continue, the wav file plays and it plays every time I click the play wav button. I am using a test project to work out the bugs before I implement the direct sound in my other project. Below is the the code I am using. Can someone tell me what I am doing wrong? The code needs a form named form1, and a button named xPlayButton.
I want to know if I can directly read or write values in the current process in a Visual Basic 2005 Windows application. Like *(DWORD*)(0x123456) = 1; in C++ will write the value 1 at the address 0x123456. So anyway to do the same in VB using only built in functions and not using ReadProcessMemory and WriteProcessMemory?
I have a form with 2 labels on it, the first label displays the USB game pads name (once found) the second i want to display the button pushed, here's what i have so far:
Imports Microsoft.DirectX.DirectInput Public Class Form1 Public _device As Device
I have dealt w/ SQL as back-end many times before, but this local CE database is driving me crazy. I have a dataset (CsDbDataSet) with my table (ServiceMonitor) all set up. I have the dataset configured for CRUD and everything looks just peachy there. The problem is that I cannot write directly to the table and have it show up. I don't get any kind of error, but when I run a SELECT statement on the table, I receive no data. Am I missing something?I am using the direct database access methods used herensert Method I am trying to use:
Dim ta As New CsDbDataSetTableAdapters.ServiceMonitorTableAdapter ta.InsertRecord("Test", Now.ToString, "TestSvc", "TestSvcVer", "TestSvcStat", "TestNote", "TestProgram")