symphony SDK
Hi...
symphony SDK is not having required information..... MCE is not accessing my Add-in...... Symphony SDK is not good ... it is not having document to write our own program with MCE..there is no document to use Addin.Audio.track.title.name property...... any url is having information regarding symphony.? Tag: Property Page creation :Pointers reqd Tag: 74575
Question about Image
Hi all,
My problem is, I have created a form with a background Image assigned to it.
On top of it, I have an instance which is a subclass of PictureBox. I
overrided the PictureBox OnMouseMove method so that it moves along with the
mouse movement. Though there is no problem when moving the PictureBox, as
the PictureBox moves, the form's background Image doesn't update the area
under the PictureBox, there are still some images remain on the screen after
the PictureBox change its location. Can anyone tell me how to solve this
problem?
Thanks in advance.
Tony Tag: Property Page creation :Pointers reqd Tag: 74574
Finding controls on a form in another application
Hello All,
In .NET, how can I find out the controls on a form for an application that is running on my computer? The app is either a vb or c application.
Thanks,
Vince Tag: Property Page creation :Pointers reqd Tag: 74572
Snappy Rendering of Controls
I have a situation where I'm hosting a number of complex controls within a
form, but only showing one at a time. When the user clicks on a navigation
button one or other of the controls is displayed.
My problem is that, as the control is revealed (it's Visible property is set
to True), it flashes quickly as parts of it are rendered (that is, I can see
squares of white flashing until their BG colors a drawn etc).
What's the correct appropach to take when revealaing a control to avoid this
kind of thing? What I'd like is for it to just snap up in one go. Is there
anything I can do???
Thank you!
===
Phil
(Auckland | Aotearoa) Tag: Property Page creation :Pointers reqd Tag: 74568
Getting the popups above the running form.
Hi,
I have a form that scans my entire C: drive for some files. In order to show the status of scanning I use Application.DoEvents to show a label with the folder being scanned. All this runs fine. But whenever there is a popup from another application, that Popup comes below my running form.
How can I make these popups get displayed above my form so that the User can see it as soon as it is popping up.
TIA. Tag: Property Page creation :Pointers reqd Tag: 74562
Stacked panel controls
I'm trying to do something simple and can't seem to get my way with the
forms designer.
My form is divided in two: left side a tree view control, right side a
panel with splitter control inbetween. So far so good.
Now I want to stack panel controls on the right side. The idea is that as I
click on tree nodes on the left side, a particular panel is made visible.
So all the panels have to have the form as the parent. Then I
programatically set visibility of the panels in the select handler for the
tree.
I can get this working if I massage the code that the forms designer
generates. However I can't seem to drop panels into the form such that all
the panels are children of the form. Furthermore my hand massaged code is
obliterated the next time I fool with the form.
Is there another, simpler way to achieve my goals?
Regards,
Bob Rundle Tag: Property Page creation :Pointers reqd Tag: 74561
A default .resx file ?
I'm developing a multi-language win32 app. It is working fine, I have 3
resource files, each containing all labels, messages etc in one specific
language. The language files is loaded based on the CurrentUICulture that is
on that specific machine.
But I want to have a "default" language, let's say English. This language
must be loaded if the user do not have support for "his" language.
Thanks for all help!
Svein Erik Tag: Property Page creation :Pointers reqd Tag: 74559
Reading registry key on another machine on a LAN
This may be simple, but I have not figured out how to do it.
I want to read from a file on another machine on my LAN. The location
of that file is given in a registry key in HKEY_LOCAL_MACHINE on that
machine. I know which machine it is and need to read the registry key
from a program running on my computer.
Any help much appreciated.
Peter
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Property Page creation :Pointers reqd Tag: 74558
Grid with RightToLeft support
Hi,
Is there any third-party grid control with Right to Left support available
on the net?
I've tested dozens of them but non of them supports RTL proprely.
Thanks in advance,
Soheil Tag: Property Page creation :Pointers reqd Tag: 74557
Getting the value back from a combo box?
Hi all,
With some help from Jakob Christensen here, and also this article (for
VB'ing it)..
http://www.componentdesigns.com/library/article.asp?a=2
I 'think' I have managed to achieve what I want to do (which was to write
both Text and a Value to each row in the combo box).
My next problem is that I seem to be unable to then 'get' the value of the
selected item in the combo box... :(
Any help would be appreciated, the following code is being used :
Public Class ComboBoxElement
Dim m_ElementText As String
Dim m_ElementValue As Integer
Public Sub New(ByVal ElementText As String, ByVal ElementValue As
Integer)
m_ElementText = ElementText
m_ElementValue = ElementValue
End Sub
Public ReadOnly Property ElementText() As String
Get
Return m_ElementText
End Get
End Property
Public ReadOnly Property ElementValue() As String
Get
Return m_ElementValue
End Get
End Property
Public Overrides Function ToString() As String
Return ElementText
End Function
End Class
And I'm setting the values with this in my page_load :
ComboBox1.Items.Add(New ComboBoxElement("Please select a payment option...",
99))
ComboBox1.Items.Add(New ComboBoxElement("Weekly Paid (£14.95 admin cost for
each week of use)", 1))
ComboBox1.Items.Add(New ComboBoxElement("Monthly Paid (£44.95 admin cost for
each month of use)", 2))
I have managed to return the 'index' value for the selected item in the
combo box, but then I dont seem to be able to find a way to use this to
retrieve the text or the value from it (the value is what I am really
after)..
Your help is appreciated,
Regards
Rob Tag: Property Page creation :Pointers reqd Tag: 74556
minimising a modal form to taskbar
Hi,
I have a form which creates and shows another modal form (which I have
turned off taskbar visibility) but when this 'child' form is minimized it
goes to a small title window (like it would if it were an MDI child window)
above the taskbar and the parent window is now visible but you can't click
on it as the modal form is still active, just minimized. I hate this
functionality as I would like that when this child window is minimised it
disappears and it's parent minimizes to the taskbar.
On clicking the minimized window in the taskbar, it maximises the parent and
the child modal form as well.
What is the best way to do this?
Thanks
Nev Tag: Property Page creation :Pointers reqd Tag: 74555
Main Menu - common code?
Hi all,
I am putting a small app together which will have 3 windows forms, the main
menu across the top will be the same regardless of which form the user is
on. I have noticed that as I built the first form it has added all of the
'protected with events' stuff for the main menu bits and bobs.
I'm thinking that I would be better of with my main menu code somewhere
seperate, just the once and then call it as needed for each form - any
changes are then only done the once...
Can someone suggest how I might do this please.
Any help appreciated (new to .net and windows stuff - mainly worked on the
web side of things with .net so far).
Regards
Rob Tag: Property Page creation :Pointers reqd Tag: 74554
Checkboxes in TreeView Controls
I want to implement checkboxes in all child in a treeview EXCEPT all top
most root nodes.
TreeView control's CheckBoxes property implement this functionality to all
nodes but not the specific one.
how can I implement this one through nodes individually to some specific
node?
Thanks Tag: Property Page creation :Pointers reqd Tag: 74552
MDI Border Removed
How do I refresh if MDIParent.Refresh/.Invalidate dont do anything? I want it to refresh immediatly after setting the style. This is how I removed the border.
Public Shared Sub MDIInside3dBorder(ByVal mdi As Form, ByVal Flag As Boolean)
If mdi Is Nothing Then Exit Sub
If mdi.IsMdiContainer Then
Dim x As String = " "
Declares.GetClassName(mdi.Handle, x, x.Length)
x = Replace(x, "Window.8", "MDICLIENT")
Dim curstyle As Integer, newstyle As Integer
Dim hwnd As IntPtr = Declares.FindWindowEx(mdi.Handle, IntPtr.Zero, x, vbNullString)
If hwnd.Equals(hwnd.Zero) Then Exit Sub
curstyle = Declares.GetWindowLong(hwnd, Constants.GWL_EXSTYLE)
If Flag Then
curstyle = curstyle Or Constants.WS_EX_CLIENTEDGE
Else
curstyle = curstyle And (Not Constants.WS_EX_CLIENTEDGE)
End If
newstyle = Declares.SetWindowLong(hwnd, Constants.GWL_EXSTYLE, curstyle)
'Refresh HERE with newstyle
End If
End Sub
Thanks! Tag: Property Page creation :Pointers reqd Tag: 74551
Help me remember a vsnet framework ad? Access dev testimonial
Within the last month or so, in a mag or on the net, I saw an add for
what I think was a vbnet ide framework or addin where there was a
testimonial from a user that said they were a long time MS Access
developer and that they liked whatever framework it was. I have looked
"everywhere" and can't find it again. Does this ring a bell with anyone?
It could have been in an older mag, but I don't think so. Tag: Property Page creation :Pointers reqd Tag: 74550
Changing focus leads to increase in memory!!!
I have observed that when I change the focus (Not minimize)
from my .Net app to some other app and bring the focus
back, the memory used and VM size increases slightly. I
have observed the same behavior for some other .Net apps
also. Why is this happening? Is there a memory leak
somewhere in my app or is it something to do with
framework? Is framework painting my GUI again or something
like that? Tag: Property Page creation :Pointers reqd Tag: 74547
MDI Child / Dispose / GC / = null
I have a mdi child in my app with a business object member variable. it
seems that this business object exists until the application is ended, no
matter i call GC.Collect(). (i did some reference counting + a weakreference
static list in the business object to find out what is going on) If i put
'businessObject = null' in the dispose mehtod of the child form, the
business object is destroyed as i want from the garbage collector but it
can't be for real that i set any object to null in the dispose mehtod? Tag: Property Page creation :Pointers reqd Tag: 74545
DataGrid TableStyles...
Is it possible to use DataGrid TableStyles with DataView as DataSoure? What
MappingName I need to set? Tag: Property Page creation :Pointers reqd Tag: 74539
How to determine the width of a single character in TextBox?
I am writing a Windows Forms application using Visual Studio.NET in C#. I am creating a control derived from TextBox that will need to invoke a block cursor (caret) during certain edit modes. The derived control is intended to contain numeric values; integers and floating point. I understand how to create and position a caret using CreateCaret() and SetCaretPos(), available in user32.dll.
The control's font may vary from instance to instance so I want to make the caret have the correct width and height. I can get the height of the font by using either the TextBox.FontHeight property or the Font.Height property. However, I have not found a way to get the width of a character so that I can size the caret width appropriately. Since the control can contain a decimal point and a minus sign I would really like to determine the width of any individual character so that the caret does not overlap adjacent characters.
How can I determine the width of a character at a given position in a TextBox?
Thanks,
Dave Tag: Property Page creation :Pointers reqd Tag: 74535
richtext to XML
Hi all,
I'm trying to build a little app. that allows users to paste copied text
into a rich text box, then hit a button and out spits XML into another
textbox. I'm mainly concerned with capturing font attributes like italic,
bold, etc... from the rich text so I can output text with the appropriate
XML nodes indicating the proper markup around the text in the second text
box. I've done a few searches looking for code snippets and such but so far
I'm not coming up with much. If anyone here could point me in the right
direction to some resources on how to parse rich text I would be very
appreciative.
Thank you for you time. Tag: Property Page creation :Pointers reqd Tag: 74528
Wiring up events in a less-messy way
I'm frustrated with the way I've been handling events previously inside
WinForms apps. It always seems that I end up with the effect I call
"AddHandler Hell".
I would like to do things a little differently and try to apply a little
more object-orientation to events; for a low-level example, I would like to
have my main MDI form and some child forms enable and disable some buttons
and controls based on the user's login status (logged in or logged out).
What's the most efficient way to almost define an event globally, so that
when my "UserAuthentication" class raises an event, say,
"LoginStateChanged", that the main form and child forms can respond to it
without having to individually wire up and keep track of each window?
It almost seems like I should be able to define a central shared/static
class that holds most application-wide events (i.e. an AppEvents class), and
allow my UserAuthentication class to raise AppEvents's "LoginStateChanged"
event.
Can someone shed some light on this for me?
Brandon Tag: Property Page creation :Pointers reqd Tag: 74527
Child Menus, what would the best way to do this
Hopefully this will come out right but this is what I'd like
Main Fruit
=======
Squares
|___by color
|___Red
|___Yellow
|___by size
|__Large
|__Medium
|__Small
Circles
Triangles
Is there a way to have the sub menus attached to Circles and Triangles
without manually adding each one in the code? Yes that would be merging
right? ok now how can I determine who called Large Yellow or Small Red, do
I have to do something like sender->parent->parent->text ?
Thanks Tag: Property Page creation :Pointers reqd Tag: 74526
DataGrid transpose/invert
Hi,
Is there an easy way to transpose/invert a DataGrid?
I'd like to be able to still bind the grid to a 'DataSource' and invert/transpose on the User Interface. Is this possible at all?
Sorry to post this at multiple places but I really need to figure this out.
Cheers Tag: Property Page creation :Pointers reqd Tag: 74525
Drag Drop Controls
Hi all,
I am writing an application using Visual C# .NET. Currently, I am
developing some componets inherited from the System.Windows.Forms.Control,
eg. a PictureBoxA. I want to make a draggable PictureBoxA, and a component,
eg. another sub-class, PictureBoxB, to receive the dropped data carried by
the PictureBoxA.
I have searched Google and the MSDN Library, the typical solution is the
Owner Form to capture the MouseDown Event and call the DoDragDrop Method.
However, I am going to create a lot of instance of the PictureBoxA and
PictureBoxB on the form. In this way, I have to create a lot of event
handlers for all the instance of these objects. I am wondering if I can
make it in a more object-oriented way such that both PictureBoxA and
PictureBoxB communicate by theirself without the Owner Form to handles their
drag-drop events.
In this time, I override the draggable control to move with the cursor after
a MouseDown, and also override 'receiver' OnDragOver routine. However,
therer is no drag drop event occur to the receiver...... So, how can I
implement this drag drop event so that after a mouse down on A, control B
can receive the DragOver Event?
Any help gladly appreciated. Thanks in advance.
Tony Tag: Property Page creation :Pointers reqd Tag: 74523
DBNull
I'm not sure which group to send this to>
I have a windows form with a text box that I want to send the data entry to
SQL using a stored procedure.
I add the parameter:
Dim prm as
sqlclient.sqlparameter=sqlcm.Parameters.add("@WaterTemp",Sqldbtype.decimal,9
)
get the value from the text box:
prm.value=me.textbox.text
I execute the stored Procedure:
Sqlcm.ExecuteNonQuery()
I get an error 'Input string was not in right format' and that is because I
do not put a value in the textbox because no data is available.
The SQL table column is set to allow nulls.
I think I need to use DBNull but I don't know how. The ' help' is not very
helpful!
Can anyone please help me?
thanks Tag: Property Page creation :Pointers reqd Tag: 74519
Wrestling with MDI problem
Hey all,
I've inherited a mess of a program that is too far along to be
rewritten. It uses MDI style forms. There is a main, parent form that
contains a menu. Other child forms display within this. Each successive
child form cascades down and to the right of the previous child form, ie.
normal windows behavior. However, if I close all child forms and then open
a new one. It does not open at the top-left of my parent form, but where
the previous child form left off.
Question is: how can I get this to reset? If a user closes all child
forms, I want them to start at the top-left of the parent. Thank you!
_______________________________________________________________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><> Tag: Property Page creation :Pointers reqd Tag: 74517
Crystal Report 10 and crystal report viewer control
I am using VB. NET 2002 and framework 1.0 to build an application. I am
using crystal report as my reporting tool. Reports build with crystal
report 8.5 and 9.0 are well supported by the crystal report viewer
control. I was curious to know if any reports build in Crystal reports
10 will be supported by the crystal report viewer control in VB .Net
2002. Will it cause the report to fail or it will display the report
build in version 10 without any problems?
Thanks in advance.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Property Page creation :Pointers reqd Tag: 74516
XP Themes and IE
I am writing a control that gets downloaded and run in Internet Explorer
and I would like the visual style of the controls to match the visual style
of the operating system. I know about .manifest and about
EnableVisualStyle() but these seem to only work with full blown executables
(.exe). I found a few promising threads in Google but the links in that
thread no longer work. Does anyone know how to enable visual styles in this
scenario, or if not where the link
http://www.gotdotnet.com/team/windowsforms/Themes.aspx has been moved to?
Thanks
Wells Caughey Tag: Property Page creation :Pointers reqd Tag: 74515
Icon inside form menu ????
Dear all,
What is the way to add icon in front of menu items in a form menus?
thnask for your info
regards
serge
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Property Page creation :Pointers reqd Tag: 74511
How to get the WM_MDICREATE message (when an MDIChild form is created)
Hi all,
I can get to the messages of the MDIClient area now, but I don't seem to get
the WM_MDICREATE message, although I do get the WM_MDIDESTROY message.
My code in question:
Public Class SubclassMDI
Inherits NativeWindow
Public Event LoadButton(ByVal hWnd As Integer)
Public Event RemoveButton(ByVal hWnd As Integer)
Private Const WM_MDICREATE = &H220
Private Const WM_MDIDESTROY = &H221
Protected Overloads Overrides Sub WndProc(ByRef m As Message)
'Process the needed messages
Select Case m.Msg
Case WM_MDICREATE
'Forward message to base WndProc
MyBase.WndProc(m)
Application.DoEvents()
RaiseEvent LoadButton(m.HWnd.ToInt32)
Case WM_MDIDESTROY
RaiseEvent RemoveButton(m.WParam.ToInt32)
'Forward message to base WndProc
MyBase.WndProc(m)
Case Else
'Forward message to base WndProc
MyBase.WndProc(m)
Debug.WriteLine(m.ToString())
End Select
End Sub
End Class
Am I doing anything wrong here?
I don't even see the message in the Debug window.
Does anyone have an alternativ for me?
BTW: The instance of SubclassMDI gets the handle of the MDIClient area by an
AssignHandle call.
--
Hope this helps ...
Rene Mansveld
Spider IT - Germany (was Whitworth Software Solutions)
www.Spider-IT.de / www.Spider-IT.net / www.Spider-IT.org / www.Spider-IT.biz
Please reply to the newsgroup(s) :o) Tag: Property Page creation :Pointers reqd Tag: 74507
Capturing tab control
I have been looking with no avail at various solutions in the groups
to the problem of capturing the tab keydown while in a certain
controls. I have been trying to capture the tab keydown event but
nothing appears to be happening and it is totally ignored. I really
cannot understand why this is happening - apparently there is
something that must be overridden but im not sure on how this works.
the field in questionis yyn_Weightloss and the code im using is
Private Sub yyn_WeightLoss_KeyDown(ByVal sender As Object, ByVal e
As System.Windows.Forms.KeyEventArgs) Handles yyn_WeightLoss.KeyDown
If e.KeyCode = 9 Then
MessageBox.Show("tab caught")
fun_TabMoveNext()
Else : Exit Sub
End If
End Sub
I really do not understand why this is happening as other events are
firing correctly such as lostfocus.
Can anyone be of assistance on this issue.
Thanks in advance Tag: Property Page creation :Pointers reqd Tag: 74506
Disabled but visible Scrollbars in ScrollableControl
Hello Everyone,
I have a class that is derived from ScrollableControl and does custom
painting. My problem is that when ever the DisplayRectangle's Size exceedes
the AutoScrollMinSize the scrollbars actually disappear which messes up my
custom layout logic. What I want is to keep the vertical scroll bar visible
regardless of the DisplayRectangle's relationship to the AutoScrollMinSize.
Specifically I want the vertical scrollbar to remain visible but appear
disabled when the DisplayRectangle exceedes the AutoScrollMinSize.
As an additional constraint, the application that hosts this control is not
given Full Privildeges so I can not use any form of interop.
Thanks,
Wells Tag: Property Page creation :Pointers reqd Tag: 74501
Setting focus to a form based on a form handle ( C# )
Hi! I maintain a collection of all form handles that I span out.
The forms can be MDI Parents or Children - my app opens up
several forms of different type. Once in a while, when a user
performs an action that opens up a new form, I want to check first
if the form is already opened and if so, just set the focus to that form.
Is there an API call that can do that ? I can not find anything in managed
code. May be I am not looking right ?
Please let me know if you've done similar things.
Many Thanks,
--Mike Tag: Property Page creation :Pointers reqd Tag: 74497
ComboBox - Databinding and Sorting - Days wasted!
Customers table - contains Columns:
CustID, Surname, Forename, TtlID
Titles table - contains Columns:
TtlID, Title
TtlID is a Foreign Key in the Customers table.
I have a Form frmCustomers which contains a ComboBox to select
the Customer's Title. The ComboBox is populated from the database
table Titles.
However, I want the titles in the combobox to be displayed in alphabetical
order so that when a title is selected and the Customer is updated, the
TtlID field correctly corresponds with that in the Titles table.
I've tried using a dataview and sorting it as the datasource for the
combobox, but once the data value are assigned to the combobox,
the TtlID field gets out of sync with the database table.
How can I solve this? - I've been trying for days!!!
Thank You in Advance for any help. Tag: Property Page creation :Pointers reqd Tag: 74489
Rectangle curved edges
Do anyone know an easy way to draw rectangles with curved edges? I couldn't
see anything in Graphics that would provide that.
Thanks in advance.
--
John Wood
EMail: first name, dot, second name at priorganize.com Tag: Property Page creation :Pointers reqd Tag: 74478
VS.NET 2005 and 2003
I have installed the VS.NET 2005 Beta 1 and now VS.NET 2003 projects in
VS.NET 2003 do not compile. Is the Beta supposed to run side by side with
the older version? Or is it supposed to make older versions stop working any
more? Tag: Property Page creation :Pointers reqd Tag: 74477
Application Instance
How to determine if another instance of the application is running so that
ir doesn't run multiple instances?
Thanks Tag: Property Page creation :Pointers reqd Tag: 74475
WebClient Class and Cookies
I have a Winforms App which uses the WebClient class and works very well. I
am wondering if I can look at cookies returned from the server as a result
of a WebClient class request. It appears that there is a WebClient
attribute called credentials which can be used to set and get credentials
for authentication. Is this the correct interface to look at cookies
returned by the server for encryption? Please advise. Thanks very much for
your help.
Best Regards,
Paul J. Lay Tag: Property Page creation :Pointers reqd Tag: 74463
mulitple data Datagrid
Hi
2/3 Databound into the single datagrid ,
means i have one select resultt, one array list and one comboselection
result
All these i have to bind into proper places in grid columns.
can anybody help me.
thanks
usha Tag: Property Page creation :Pointers reqd Tag: 74459
Retreiving the DataRow from a Sorted DataGrid
I've been using dataTable.Rows[ dataGrid.CurrentRowIndex ] to retreive the DataRow for the currently selected row in the datagrid. This works fine until I click on a column header to sort the DataGrid; then the indices of the rows in the DataGrid no longer match the underlying DataTable. How do I find the correct DataRow in the DataTable from the sorted DataGrid?
Thanks in advance.
Phil. Tag: Property Page creation :Pointers reqd Tag: 74456
Using Design Time DataSets from another component?
Is there any way I can use a DataSet(Strongly typed or normal) from another Component class - using the design time editor?
Ex:
Component1 has 1 DataSet called orderDataSet it is a design time control so i can bind other controls to it in the same class using the design time editor.
Component2 has controls that I want to bind to Component1's orderDataSet - how do I do that - using the design time editor?
Thx Tag: Property Page creation :Pointers reqd Tag: 74455
Cannot display unicode characters in HelpProvider HelpStrings
Well, the title describes the problem.
I add a HelpProvider to my simple windows forms app, say
helpProvider1. Then i assign a cyrillic string to the "HelpString on
helpProvider1" property of a TextBox and when i test it, i see
"ÿãǖëǜ" or something like that.
Any help is appreciated. Tag: Property Page creation :Pointers reqd Tag: 74454
Windows.Forms Issue (compact framework)
I have a form (form1) that I call another form (form2) from, using
.ShowDialog (modul). I disable form1 (.Enabled = False), once the user is
finished with form2 (checked a few check boxes, and clicked a button) the
Disposing event of Form2 is fired (on form1) and I re-enable(.Enabled =
True) Form1.
This all work fine. However! Form1 is minimized in the Taskbar, and will
only show if I click on it.
Anybody anay ideas?
Tried These.....
.ShowDialog()
.Show()
.Focus
.BringToFront
.SetWindowState
--
Regards
Brett Miller Tag: Property Page creation :Pointers reqd Tag: 74453
MCE
Hi,
I have written a dll to control MCE thru my c# code.Inside that dll, the class inherits IaddInModule, IaddinEntryPoint... interfaces with Initialize,launch methods. I created Strong name for this dll and i used gacutil.exe to store in global assembly. Moreover I created a xml file with application,entrypoint,category elements.... and I used RegisterMCEApplication.exe to register the xml file (the Entrypoint element is having my class name and my assembly name..).
Everything fine.. I didnot get any error message. My application name is coming under MCE..Setting..Genteral..MoreProgrames..External Programes. But my Dll is not working.... that is MCE is not calling initialize,launch method from my dll (It has to call my methods as described in MCE SDK, i feel ). what mistake i commited.... i donot know exactly....
please help me.... to come out... from the problem....
thanks and regards
Rajamanickam Tag: Property Page creation :Pointers reqd Tag: 74450
How can open other form
Hello,
How can click one button,open other form.Please teach me the source.
Thank you Tag: Property Page creation :Pointers reqd Tag: 74449
Context Menu - Error
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C46471.A488B040
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All, When I add a context menu to my form and try to edit the menu, I =
get an error: Object reference not set to an instance of an object. How =
can I resolve this?
Thanks,
BRIAN HAMMER
------=_NextPart_000_0008_01C46471.A488B040
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>All, When I add a context menu to my =
form and try=20
to edit the menu, I get an error: Object reference not set to an =
instance of an=20
object. How can I resolve this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>BRIAN =
HAMMER</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C46471.A488B040-- Tag: Property Page creation :Pointers reqd Tag: 74445
Problem serializing property on custom UserControl
I have a series of simple controls that I created to make some aspects of
Tablet PC programming a little easier. The "Tablet PC" aspects of the
controls are irrelevant to the problem I'm having, but I feel compelled to
mention it because it can be hard for someone to imagine my challenge when I
talk in hypotheticals.
Anyway, these controls each have an Ink property. For non-Tablet
developers, Ink is a class defined in the Tablet PC SDK (1.0+). I've
created a custom UI Editor for my Ink property and it works well at design
time, but as soon as I run the program the changes are gone. I can't seem
to figure out how to make the IDE (Visual Studio EA 2003) recognize the
change to the property and serialize the data.
I'm attaching my project code to this post because I can't really slim it
down and still have it do what I'm trying to do. Those of you who might be
able to help should be able to get past the extra nonsense pretty easily.
This is my first UI Editor so I'm sure the solution is pretty simple.
Here's how I created the editor:
1. First, I have the control (scratchLabel). If that doesn't go without
saying, please stop reading now - you can't help me. ;-)
2. I have a class called InkEditor which inherits from
System.Drawing.Design.UITypeEditor.
3. In the InkEditor class I have overidden the EditValue method to
display a form which captures the ink. This form works on non-Tablet PC
machines as well. Here is the code for that method:
public override object
EditValue(System.ComponentModel.ITypeDescriptorContext context,
IServiceProvider provider, object value)
{
InkEditorDialog inkedit = new InkEditorDialog();
if (value != null)
{
inkedit.Ink = (Ink)value;
}
else
{
inkedit.Ink = new Ink();
}
IWindowsFormsEditorService winFormEditorService =
(IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));
if (DialogResult.OK == winFormEditorService.ShowDialog(inkedit))
{
value = inkedit.Ink;
}
return value;
}
4. In the scratchLabel class (my control), I've put the following
attribute on my Ink property.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible),System.ComponentModel.Editor
(typeof(InkEditor),typeof(System.Drawing.Design.UITypeEditor))]
5. I probably should have mentioned it earlier, but my scratchLabel
class is tagged with the [Serializable()] attribute and implements the
ISerializable interface.
6. The following serialization code is included, but it doesn't seem to
ever get called.
public scratchLabel (SerializationInfo info, StreamingContext context)
{
InitializeComponent();
try
{
//deserialize class
this.Ink = (Ink)info.GetValue ("Ink",typeof(Microsoft.Ink.Ink));
}
catch (Exception ex)
{
throw ex;
}
}
//serializes class
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext
context)
{
info.AddValue ("Ink",this.Ink);
}
So the million dollar question is, what am I missing? There must be
something really simple that I need to include to let the IDE know to save
the data.
Thanks for your help.
Rhy Mednick
P.S. The source code for the group of controls in development, for those
interested, is at http://chickenscratch.sourceforge.net and
http://inkmenu.sourceforge.net. Tag: Property Page creation :Pointers reqd Tag: 74440
Control changed Detection
Hi,
I have a form with different type of controls (textbox, drop downs,
grids and others).
Is there a common way to detect when one of those controls has been
changed? (Other than register each one of them separately for value
changed or row added event)
Thanks,
Ori. Tag: Property Page creation :Pointers reqd Tag: 74436
Load Event firing in User Controls
I am seeing this behavior and do not know if it is normal:
When I hav a user control nested in another user control, the load event of
the nested control is firing 3 times. The unnested control is firing twice.
Both controls fire the load event twice when not nested.
Even stranger, both controls are firing the load event when the form is
closing!
Thanks for any help.
Glenn Tag: Property Page creation :Pointers reqd Tag: 74435
Hello
I need to creare property pages in dot net, I guess avariable number of
property sheets
Please let me know, any source or any pointer where i can start with