-
- install app from FTP? [visual c# Express 05]
by Beezgetz
- 8 Replies
- Last post
by Beezgetz
- Hello, I am in the entertainment industry, and a need for specific app rise, since everybody is using excel sheets. So I made it in Visual C# Express Edition 2005. Now everybody want it. I don't have web page, but I was told I could use FTP ( ) for distribution of app. How does that work Now I'd like to keep track of distributed copies, so I'd like to make it possible for the end user just to inst
-
- RichTextBox - GetLineFromCharIndex problem
by lemmy101
- 0 Replies
- Last post
by lemmy101
- Hi all, I'm having a bit of a problem with RichEditBox, in that I'm writing a TV/Movie Script style editor, where I'm detecting if anything has been written on the current line when return is pressed, ignoring the return press if the current line is empty. Eg. BOB Return allowed. I've been using GetLineFromCharIndex(SelectionStart) to determine the line number (in the Lines[] array) a
-
- Control Drag & Drop works one time only.
by Aybe81
- 0 Replies
- Last post
by Aybe81
- Hello,
Trying do to a simple thing but it's not as simple as i thought ...
I created a custom control which in fact is a FlowLayoutPanel
that allows to drag and drop childrens to re-organize them.
It works only when i try to swap with the control adjacent to it,
In fact the problem is that when you start a drag, apparently there's no MouseMove event happening so i ca
-
- selecting text in a text box
by nta1
- 5 Replies
- Last post
by Stephan Smetsers
- Hi,
I have a windows application written in vb .net.
There are 2 forms in the application: form1, form2, where form1 loads form2 and form2 contains a text box.
when I load form2 from form1 in this way:
Code Block
Dim frm2 As New Form2
frm2.BringToFront()
frm2.Show()
everything works o.k.
but when I try it this way:
-
- Please help me with this case?
by pvphuc
- 4 Replies
- Last post
by L4g00n
- I have a DataGridView which is used for DragDrop and modifying data by double click in the cell (this will open a sub form for modifying data). When user mouse down the dragdrop action will happen so the double click event will never happen. Please give the solution for DragDrop event, I do not want to use mouse right click for DoDragDrop method. Thanks in advance. pvphuc
-
- adding custom text box and combobox into specific row/cell of datagridview
by hazz
- 2 Replies
- Last post
by hazz
- The requirement is to use the datagridview to work like a property editor as follows;
Property Value
Name Editable text box
Combo box property Combobox
Name2 Editable text box
Name 3 Editable text box
How do I insert either at design time or programatically;
1. a custom text box
-
- Report Viewer DataBinding ?
by thukralz
- 1 Replies
- Last post
by Guang-Ming Bian - MSFT
- I have my own set of queries written and have the results in a dataset. If I was to bind that to a datagridview is simple and straight.datagridView.databind = dataset;
In this case I'm using Report Viewer Control available in VS2005, How can I use the dataset I have to bind to this reportviewer.
Secondly, I have created .rdlc where I have matrix, table in the report. How can I bind t
-
- PropertyGrid.SelectedObjects and serializable objects issue
by bitbonk
- 1 Replies
- Last post
by VisualHint
- In a propertygrid I have multiple objects selected via PropertyGrid.SelectedObjects setter.
When I set the value of a property for those objects via the propertygrid and the type of that specific property is serializable (SerializableAtrribute is set and ISerializable and Deserialisation ctor are implemented for the type of specific property) the propertygrid calls GetObjectData and the Deseria
-
- Accessing objects of a Form from another Form in VB .net
by anish11
- 1 Replies
- Last post
by Christopher Payne
- Hi, I'm using VB .net 2003 windows form. I have 2 forms.
Form1 contains: TextBox1, ComboBox1
Form2 contains: CommandButton1
I want to use the text entered in TextBox1 and ComBox1 of Form1 in the Form2_Load of Form2. I have used the following code:
Private Sub Form2_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
Dim Form2O
-
- Filtering web sites
by Guy007
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi, I am writing an application that will have a webbrowser control in it. i want the users to be able to access ONLY websites "A" and "B" from the application. If website "B" has a link to another website (for example, a link to www.google.com), i do not want to allow him to follow this link! Any idea how it can be done ! I need to keep a list somewhere of the allowe
-
- TreeView Subclass
by TheSquirrelKing
- 4 Replies
- Last post
by TheSquirrelKing
- Hi, I've only been using VB.NET for a couple of weeks now - so please forgive me if this question has an obvious solution - but I am trying to create a custom subclass of the TreeView component.
By its nature, this subclass of TreeView requires every node to have a checkbox - something you can do to an instance of TreeView by setting the CheckBoxes property to true in the properties tab in
-
- VS2008 B2 ClickOnce Certificate problem
by em325409
- 12 Replies
- Last post
by em
- Hi,
on my Dev-PC (Vista Business; VS2008 B2; Excel 2007) I developed an Excel 2007 Add-In, signed the ClickOnce manifests (with a certificate from a CA) und published it on a network share on my Dev-PC. All works fine - locally and also when I copy the deployment files to a WinXP PC in the network (on installation I get a prompt when my certificate is NOT in the "Trusted Publisher" st
-
- Disable nodes on treeview
by celobateira
- 4 Replies
- Last post
by nobugz
- Hi everyone, I'm trying to disable some nodes on my treeview. I found this is very dificult to do, I read somewhere that I could manage to do this by working with the treeview handle I have to import the SendMessage method from the user32.dll and declare a TV_ITEM struct and some constants So what I have is this:
Code Snippet
DllImport ( "user32.dll" )]
private
-
- OnHandleCreated override and WindowState property
by Comanche
- 7 Replies
- Last post
by Comanche
- Hi,
I need to restore form's state and position at application startup. First I placed my code in the form's Load event handler - but this rezulted in flickering for huge forms. Then I googled out a recommendation to use the OnHandleCreated override instead. And this is much better but... changing WindowState to Maximized has no effect: form appears on screen in Normal state! That's a simple co
-
- Problem with Moving Form (without Titlebar) and a Dialog Form
by flash.tato
- 2 Replies
- Last post
by Cesar Francisco
- I have this code for moving form (all works in a charm):
Code Snippet
Private mouseOffset As Point
Private Sub _MouseDown( ByVal sender As Object , ByVal e As MouseEventArgs) _
Handles MyBase .MouseDown
mouseOffset = New Point(-e.X, -e.Y)
End Sub
Private Sub Form1_MouseMove( ByVal sender As Object , ByVal e As MouseEventArgs) _
-
- pfx import file password while building
by Trans642
- 0 Replies
- Last post
by Trans642
- hi,
I am constantly asked about the PFX file pwd when trying to build the solution( from make files for from VS2005), is there a way to included the pwd in the project file or a in config file so that it can read from there. We have overnight build process and this pwd asking story is creating problems for us.
I don't know of it's relevant or not but this started when we switch to TeamSystem
-
- Could not load file or assembly 'Interop.
by netpicker9
- 5 Replies
- Last post
by netpicker9
- Hi,
I have a problem with Interop , can anyone solve this issue
On the machine A
Created a VS 2005 project: MYNET
I added VB6 DLL(MYVB6.dll) to .NET project (MYNET) as a Reference
.NET project created Interop.MyVB6Lib.Dll
I build the solution and it created MyNET.dll
On the machine B
MYVB6.dll is already registred on Machine B, with regsvr32 comm
-
- DataGrid.MouseUp event invoked unexpectedly
by chrischi0922
- 1 Replies
- Last post
by Baba urf Sivaji
- I met a problem, DataGrid.MouseUp event was invoked unexpectedly.
Reproduce step : 1.Open a OpenFileDialog and double-click a file (the mouse location of double-click is within DataGrid) 2.After double-click a file, the DataGrid.MouseUp event was invoked <- SO FUNNY (and sad) and my DataGrid.MouseUp event was executed unexpectedly --|||
*DataGrid.MouseUp was implemented.
-
- listBox double click firing two singlie click events
by StevePnbScott
- 3 Replies
- Last post
by nobugz
- Hi,
I have a form with a listview on it, which is loaded with items and then has 1 of the items selected by setting the listitem.selected to true.
This reflects in the listview's selecteditemarray and so on.
However when I first double click on this node on the listview it fires two singlie double click events, as if this item were not previously selected.
Then, if I si
-
- Access Web through Excel?
by Kevdu
- 2 Replies
- Last post
by Bob zhu - MSFT
- Hi
I'm still new to VBA in Excel, I was wondering if anyone knows how to access the internet content through Excel using VBA coding Is there are a library that allows you to do that, if so how do I get the library and it's detailed functions
Many thanks
-
- Error in designer when opening AxHost Class.
by Joe551264
- 1 Replies
- Last post
by nobugz
- hi all, i ve a class which converts the picture format for my comAddin. when i double click on the class file i get the following error.
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The designer must create an instance of type 'System.Windo
-
- Windows Installer Error 1001. Could not find a part of the path
by PRISM-AY
- 14 Replies
- Last post
by PRISM
- Hello,
I have a project that contains one C++ DLL and several C# assemblies one of which is a CCW. The CCW has an installer class to register/unregister the respective TLB file.
I also have an installer DLL that registers/unregisters two COM DLLs during the install/uninstall process.
My setup package has the RemovePreviousVersions set to True. Everything works perfectly when I
-
- positioning objects in listview
by wagnerjp
- 2 Replies
- Last post
by nobugz
- In the Windows Explorer "Large Icons" view the user can move and position icons and the next time the user accesses that folder the icons are in the same place the user left them.
Is it possible to achieve this using the .Net ListView controll
I have not found a way to specify a pisition for a specific "item" and at runtime I am unable to move them.
If this
-
- help with resources
by shimshon
- 2 Replies
- Last post
by nobugz
- hi all.
in my resources folder i have some png files.
i'v deleted some files(that i used to use as ToolBarButtons images), and compiled my solution.
but - when i try to edit my form(the one with the toolbar), i get an error msg for every png file i'v deleted: "could not find ....png"
where can i find the call for these files
i'v searched the entire solution and could not f
-
- Dataview
by NetPochi
- 5 Replies
- Last post
by ahmedilyas
- A question please. Can a dataview select the columns of a Datatable
For rows is: mydataview.RowFilter = "field=" & cboSujet.SelectedValue.ToString
but for columns
Thanks...