I already registered a custom dll in gac,but i want top acess the .dll in vb.net code without help of add reference.in my dll one function is there for that reson i want to acess the function.[code]...
I have just bought a new PC which runs MS Office 2010 under Windows 7 and I purchased Visual Studio 2010 Professional. I have a program which was running successfully on an earlier version of Visual Studio running under Windows XP. I have been able to replace the 32 bit Custom Control and the program, which was compiled on the old PC, is running successfully on the new PC.
However, a part of the program transfers data to an Excel spread sheet and this does not work.Opening the project in Visual Studio I have found the error. There were some problems with XL Application and XL Constants, but I think I have worked around these.[code]...
I have a small program on the menu written in VB6 retrieve data from Acess run very fast and now want to switch to VBNet2008. VBNet2008 conversion is still normal, but when running the menu does not appear that waiting in line, then click on the menu bar of this menu appears, but not the font is in Unicode data is available. Expect you to help debug programs that run on VBNet2008 still running good access Menu fast as running on VB6. Also supported is Unicode font on VBNet2008 does not function for unicode font. Attach program with VB6 and VB2008.
I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question).I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly added the code:[code]The form is loaded ok with the data I need but I can't write the code for the button "next" to load next row from database!The question is: HOW TO LOAD NEXT ROW FROM ACCESS?
frmAddUser is a simple form that is opened as a dialog by a command button on the primary form (frmPrimary). Once opened, it's only job is to collect information via textbox and combobox fields. Once submitted, the information is added to the database.
This works, or so I thought. If I open this form, fill it out, and submit the information; the record is created. However, if I turn around and do it all again with different information, another record is created but with the previous information (not the new). It will continue to make records as long as I keep submitted this form but no matter what information I put in, it always uses the original information that was used to create the first record.[code]...
im working on a school project where i shall show/explain how a remote acess program work and i coded the most but when want to send all listbox items from server to the client and in the client is another listbox where it should be transfered over..[code]
i've been trying to figure out how to update a row in my database, using a set of fields from the current form. The code which i have made so far is shown below, however it always comes up with an error message:
Private Sub btnupdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnupdate.Click Dim SQL As String Dim updatelogin As New OleDbCommand Try
I have built a search criteria for a table in my database. I have 3 textboxes first says anstnr second says firstname and the third lastname.The problem is that i cannot search if first field "anstnr" is blank. If i only will search on firstname thats not working.
Private Sub FillByolikaToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillByolikaToolStripButton.Click Try
thr are 02 fields username,pasword in database also two textboxes in vb.net form for username and pasword ... i need coding of if else which confirms that, if (username,pasword ) = username,pasword of atabase then
I've already finished the program and the last task was to add a password for my MS Access database. I've created the password in Ms Access and I've already modified the connection and saved the password but when I run the program all codes like this
Me.Table1TableAdapter.Fill(Me.Database1DataSet.Table1)got an error message says Not a valid password.
Trying to set a Combo Box RowSource to a field in a table that contains the choices separated by semi colons. Have tried both a query and a DLookup but it results in displaying the full contents of the table field, e.g. "10;12;14;16" rather than giving me the usual selection list
I am creating a windows program with VB and an Access database. I have a list view that displays on column in the database and I have that working due to the table adapters in VB. What I am trying to do is when the user clicks on an item in the list view, the program will query the database and put that info into text boxes. I am having the hardest time and can't seem to figure out how to use custom sql statements manually in the program.
What I want is to make a custom file with my program. This file we will pretend is called InfiniteMapFile.INMP and the file has no contents therefore we need to add contents. There are 3 pixture boxes and 3 text files. The data for each of these files needs to go into InfiniteMapFile.INMP with the associated names, then later on be taken out if needed. Here is a diagram:
you can see what I mean by putting the files within it, I would have made my file look more like a box, but we're not 5 years old and I'm sure all of you will understand.Just knowing how to combine multiple files in general will help.
I have created a basic OS with VB.net and in that I have a panel docked at the bottom which would be my taskbar. My problem is if i minimize any forms or programs I open they all minimize to the windows taskbar. How can i make them minimize to my panel?
I've just finished a project, but in it, you can switch between three backgrounds, and I want to export it to another computer with an installatinoprogram, but I have no idea how to do that. I know that it should put these pictures somewhere so the program knows were they are. while it's installing, i want a picture to come up over the status bar, and maybe something that you must agree with terms.
I'm afraid I don't have any code to show, as I don't know where to begin with this. I'd like to have it so that if the user presses "Ctrl+O" it will run the OpenDialogue from the Menu. If someone really wants me to (don't see how it'd help, but whatever it takes ) I can post the fully functional open function.
I have been doing a lot of searching on the web and cant seem to find a clear way of creating a custom file extentsion. I know to associate the file extension to a certain program, but how do create a format for the custom file extension?
I've been trying to use a custom cursor in my program that has 4 forms and a module.
-Module- Public Declare Unicode Function LoadCursorFromFile Lib "user32.dll" Alias "LoadCursorFromFileW" (ByVal filename As String) As IntPtr Public MYDoc As String =
I had this new idea for a user control Sliding Bar/Panel. See screenshot. So I quickly whipped it up but I've got this problem that I cannot figure out why it does not work. Because I wanted to make it nice and tidy I desided to use a Class (Header) and created a TypeConverter (HeaderConverter)
Code: Public Class HeaderConverter : Inherits ExpandableObjectConverter Protected SortOrder() As String Public Sub New() SortOrder = New String() {"Text", "Depth"} End Sub [Code] ..... and goes to the RaiseEvent but nothing happens Why?
I know I could put properties on the Container control to access the ctnbutton Control that is embedded into the control but I thought this might be a nicer way.
How to create composite grid. ie , i need all the features of gridview in the Framework 3.5 and above,but also need to include some other functionality to that grid.please suggest me what to do . if possible please share sample code.
If I drag another Form/Program or maybe lets say a context menu happens to open over my custom Control, this happens.It does correct itself after causing a redraw, however it's quite annoying. Is there anyway to avoid this?
Having problem in updating an existing record. An error occurs "Data Type Mismatch in Criteria Expression"
Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click Dim myBuilder As OleDb.OleDbCommandBuilder = New OleDb.OleDbCommandBuilder(dataAdapter)
I have developed a windows based clock program using C#,which has all clock functions like: Show time in Digital/Analog Format. Set up Alarm. I want its service to start with windows boot up, so that I don't have to manually start it every time I logon to Windows. I would like to know how do i put that service in start up? For Example: I want the service "ClockService.exe" to run with windows start up, kindly let me know how do I do it.