Answer Questions
joycemok 3rd party dll not in global assembly cache
Hello, I have created an application that has 3rd party controls. I published it to a file system for local network install. When I click 'install' on the default page, I get an error "xxx.dll not found in global assembly cache". What causes this and how can I publish the app so users can install it successfully It sounds like the msado15.dll is probalby not registered. In theory, it should already be on the target machine and registered. Check that first. The best way to get that on a machine is to use Microsoft's redist, if there is one, for that system, and deploy it using the Bootstrapper. Also, are you deploying to the same OS as you are developing on There might be a mismatch in al ...Show All
aruyp Application Settings of User Scope shared amongst assemblies?
VS 2005 final release. I have written a Class Library (dll) that is to be referenced by several other Windows Applications (exe's). This seems to be working well (I know - not a big wow) except that in my Class Library, I have several Settings of User Scope defined. The problem is that when I reference this Class Library in another Windows App and run the Windows App, the User scoped Application Settings from the Class Library end up getting persisted in a file that has the name of the Windows Application in it - in effect this will allow each windows application to store its own version of the dll's user settings. I could see how this may be good sometimes, but for this particular dll, I would like the user scope settings to be stor ...Show All
MNDANG How to improve the drawing process of my panels?
Hi, I have some panels with a lot of labels and buttons. Each time I bring a panel to the front, it takes several seconds to be drawn. This is very annoying, since while it is being drawn lower layers, sometimes even the desktop, shine through the panel background in the label and button locations. Are there ways to either: - speed up the drawing of a panel and all its controls; - prevent lower layers from shining through the panel background while the controls are drawn; - draw the entire panel while it is invisible and then show it all at once Will things improve if I don't use controls at all but write/draw directly on the panels (and then identify the 'sender' of an event by checking the location o ...Show All
StarsFire DataGridView in windows application
Hey all I"m new to c# win app, eventhough I wrote some projects for asp.net using c#. My question is about DataGridView. I have added this control to my application and binded it to my access database. I run my application, added some rows to the grid and made some modifications to existing rows but when I exit my program the changes and addition of the new rows is not saved in my access database. How do I make these changes saved Is there any "autosave changes" property :) Thanks in adavance :) See the FAQ pinned to the top of this forum My database isn't being updated, but no errors occurred in my application and follow its steps and let us know i ...Show All
rgreene62 notify icon
I have a form and a notify icon related. How can i minimize the form and only the notify icon to be dislpayed You can minimize the form by using this code: this.WindowState = System.Windows.Forms.FormWindowState.Minimized; or if you don't want the form in your taskbar, you can use form.Hide(); ...Show All
Puybaret jean-claude display msi path
Hi, I want to display msi path from where it is running. For example my msi is in "c:\msifolder\test.msi".and when i click on msi.after initial dialogs,it should display "c:\msifolder\test.msi". Thanks Hi phil, Yes, this is answer to my question.i wanted the path to the MSI file from a custom action. I have been trying to get this path since a long time.at last you give me solution. Thank you very much. No it won't. But why do you need that path during a repair or an uninstall If you did something during an install (like access a file at the MSI location, or copy it or something) I'm wondering why you need to do that during a repair ...Show All
Micael Baerens Experts, Could you please help me
Hi:there I installed SQL server 2005 (Developer Edition) and VB.net 2005 on my machine. When I login sql server by (SQL server management studio), I use sa account and password,(my server is called dwer\dwer ) When I desgin ASP.net application, i have no problem to access this sql server, Now I am designing a Window Application using VB. I cannot simply follow the normal procedure ( Project/Add New Item/ ,then choosing SQL Database from the available template ) to Add a new database to the project. An pop up always warn me that SQL server may not be proper installed or started. ( The server is up running at that time and I can access by the sa/password ) I got completely confused. All the materials I found regarding sql DATA acce ...Show All
Axe22 TabOrder for multiple groupboxes and other container controls
vb2005 i have a form which has multiple groupboxes, tablelayoutpanels, and other container controls. i would like to set up a TabOrder which not only stores how to tab within each container control, but also stores on which order do i want to tab from one control to the next. for example, if i have 2 groupboxes on top, and 2 groupboxes on bottom, how do i set up a tab order that goes Up-Down within each groupbox, and Left-Right from container to container thanks! thanks i hadn't realized you could set the tabindex on groupboxes! all these years!! thanks again. NY I believe this would just be a simple matter of setting your tab order in each control within each group. ...Show All
Pisces Stored procedure with combo box?
On a Windows form, I have textboxes to show data rows of a main table. The main table has a foreign key to a minor table which is a list of status values ("Pending", "In Progress" and "Done"). The object is to display the status in a listbox or combobox. I want to know how to do this. Some notes: 1) The code to set up connections, DataAdapters, CommandBuilders, bindingsources, Datasets, etc works fine. 2) I would like to set up any constructs in code rather than with a wizard. 3) Unless I have to I want to avoid creating the relationship between the tables in the wizard. 4) I get the sense that one Dataset can access and update both tables, but I don't know how to tell the dataset about additional tables. ...Show All
Rik78 how can i change the source code of a webpage with webbrowser control??
i want to add some source code to a webpage to add some functions for my own uses.... for example a webpage has a javascript function a(str){ ..... } i want to add an other function b to filter out some text.. so function a(str) {b(str); .... }.. Yo Scorp, I'm working on this right now as well. No help on the web either. I need to remove a javascript function from the document that's calling a pop-up before it is presented to my webbrowser control. I have the popup somewhat restrained, but It's making my web auto-processing app take focus (grrr) and now it's time to kill it. I'm going to try to modify the document.script element. I'll let you know what I come up with. ...Show All
bill_csharper Setting PowerPoint slideshow as active window over a form
HI! I'm trying to realize a simple application that loads PowerPoint presentations over a mask, displaying the name of the presentation ad the time passed. The problem is that I can't manage to set PowerPoint slideshow as the active window. This is the code (I omitted what was not important): Private Sub playerpresentazioni_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load Me.Activate() Me.WindowState = FormWindowState.Maximized Dim filePath As String = startmenu.DirectoryPath & "PresentationToLoad\" & filePres filePath = Replace(filePath, " ", Chr(32)) Dim returnValue As Boolean returnValue = My.Computer.FileSystem.FileExists(filePath) ... 'initializing componen ...Show All
ams_ashraf Problem with combobox
Hi I have a datagridview that is databound to a table via a bindingsource and a DataGridViewComboBox column that is bound to a second table (both in the same dataset). I am dynamically adding the column to the grid. Dim viewcol As New DataGridViewComboBoxColumnviewcol.DataSource = _dsEquivalents.Tables(1) viewcol.DataPropertyName = "ViewName" viewcol.ValueMember = "ViewTable" viewcol.DisplayMember = "ViewTable" viewcol.HeaderText = "View Name" viewcol.AutoComplete = False dgvEqu.Columns.Add(viewcol) BindingSource1.DataSource = m_dsEquivalents BindingSource1.DataMember = m_dsEquivalents.Tables(0).TableName The table bound to the grid contains values that are not in the table bound to the ...Show All
edukulla Help starting "excel like" app
I first started programming with VBA in excel and am having a hard time going from that to VB express by itself. Can anyone give me advice on how to start creating an app that works like excel I want to create a layout like excel and enter information into the "cells" and then store that info into SQL. what is the best way to get started, (datagridview, etc...) thanks for any help. Jeff Thank you, my only problem is that excel sort of handicapped me since it handled all the background data for me. Programming what i wanted it to do with the data was very literal, "goto, select, copy, paste, etc... can you help by "dumbing" up it up for me Example what would be my first couple of steps Add datagrid vie ...Show All
jankowiak DatagridView, commiting changes immediatly please!
Hope I explain this right. I have a DataGridView, whos DataSource is a DataTable. This DataGridView has two DataGridViewComboBoxColumns. When I select an item from the ComboBox, I have to click on one of the other rows before i choose to save, or else the data is not commited to the DataTable. Is there a way that I can have any changes I make take affect the instant I select an item from the ComboBox Thanks. gqlu wrote: In addition, generally the datasource is updated when the control is lost focus. That's why you have to click other row. I notice that in vs 2005, a new property 'DataSourceUpdateMode' was added to the Binding type. Therefore, you can set the property to On ...Show All
DRoden Permanent Cropped Image In Picture Box....
Hi everybody, Do you have idea how to make a cropped image permanent inside a picturebox control I have a first image loaded into a picturebox control then I crop(cut/get) part of that image, but when the form lost focus and then return to focus, the first image is seen in the picturebox which should be the cropped image. Please provide codes. Thanks in advanced. [code] private void CropImage() { //bCrop = true; if (cRect != Rectangle.Empty) { Rectangle sRect = new Rectangle(); sRect.Location = pictureBox1.Location; sRect.Size = pictureBox1.Size; pictureBox1.CreateGraphics().DrawImage(pictureBox1.Image, sRect, cRect, GraphicsUnit.Pixel); // ...Show All
