LDAP
I am new to implementing LDAP
I need directions to implement LDAP.
Any detailed articles ??
Thanks
--
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
---_,>/'_------
(_) \(_)
--------------- Tag: Serializing a Media Player File Tag: 87184
Form Security - Disable controls on a form
As part of our security implementation, we want to disable some controls on
some forms for some groups. This information will be kept in a database.
when the form will load the security information will be read and controls
on the form will be disabled or enabled depending on the security
information kept in the database.
After a control has been disabled on a form, we want to prevent any code on
the form being able to enable the control again. Is there any way change
those controls, so that they will not be enbaled again.
Thanks,
Mokles Tag: Serializing a Media Player File Tag: 87183
Good equivalent of Spy++ for winforms?
I've had a hard time getting handles to things that are in winforms, and
Spy++ doesn't play nice with winforms.
--
I love cheese Tag: Serializing a Media Player File Tag: 87182
check if mdi child is open
i have a Form1 that is opening Form2 by calling Form2.Show()
is there an easy way to check for a child? for Form1 to see if there is
already a Form2 on this thread. there can be 2 Form1s, so it needs to look
for the Form2 that it oppened.
Thanx in advance Tag: Serializing a Media Player File Tag: 87179
[ANN] April 26, 2005, "DirectX 9.0 Direct3D Graphics with Visual Basic .NET" chat
Do you have questions about how to best use Visual Basic .NET to program
DirectX 9.0 graphics? Are you unsure when to use a particular Direct3D
feature? Join members of the Visual Basic and Windows Graphics & Gaming
Technologies teams and discuss how to leverage the power of DirectX 9.0 from
Visual Basic .NET.
Date:
April 26, 2005
1:00 - 2:00 P.M. Pacific time
4:00 - 5:00 P.M. Eastern time
21:00 - 22:00 GMT
(For a list of the start time in several local time zones, please see
http://www.timeanddate.com/worldclock/fixedtime.html?year=2005&month=4&day=26&hour=13&min=0&sec=0&p1=234)
Outlook Reminder:
http://msdn.microsoft.com/chats/outlook_reminders/05_0426_DN_D3D.ics
Location (click the name of the chat to enter the chat room)
http://www.microsoft.com/communities/chats/default.mspx#05_0426_DN_D3D
For more information about Visual Basic .NET, see
http://msdn.microsoft.com/vbasic/
To see a list of upcoming chats or set a reminder for this chat, see
http://msdn.microsoft.com/chats.
For archives of previous chats, see
http://msdn.microsoft.com/chats/recent.asp.
Thanks!
Jason Cooke
Visual Basic Team
========
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
(c) 2005 Microsoft Corporation. All rights reserved. Tag: Serializing a Media Player File Tag: 87178
Infragistics UltraWinGrid Expand
I would like to know how to code an expand button on an UltraWinGrid.
It should be something like this:
Dim gridRow As Infragistics.Win.UltraWinGrid.UltraGridRow
Dim intRow As Integer
For intRow = 0 To UltraGrid1.Rows.Count - 1
gridRow = UltraGrid1.Rows(intRow)
gridRow.Expanded = True
Next intRow
I have four levels on my grid, and I want it to expand just one level
at a time for each click of the expand button.
The above only works for the first level as the count never changes.
Any help would be appreciated.
Thanks,
disaia@verizon.net Tag: Serializing a Media Player File Tag: 87177
great .net tool - easy SpaceGuard
Just want to share with you I found a great website, and downloaded this
very useful software that keeps my Hard drive clean, and protects my
privacy.
http://www.lowsaleprice.com
check it out, It worth your time.
L. E. Tag: Serializing a Media Player File Tag: 87174
About menu items shortcuts
Hi Guys
Is it possible to display Custom Shortcut Keys for menu items. The standard
Property Page for menu items allows only selected shortcuts to choose. I
tried following text for menu item: "Process\tCtrl+Alt+P" but symbol '\t '
What you can suggest me
Thanks in advance
Regards
Yeghia Tag: Serializing a Media Player File Tag: 87173
Word Document
Hello,
I am using the following code to open a word docuement:
With WrdApp
.Documents.Open("C:\My Documents\MyDoc.doc", missing, missing, missing,
missing, missing, missing, missing, missing, missing, missing, missing)
.Selection.Paste()
.Visible = True
.Activate()
.NormalTemplate.Saved = True
End With
1) I have noticed that this does work with Word 2002, but it does with all
other versions. Any Ideas?
2) When the user goes to save the document it defaults to MyDoc.doc, is
there a way to change the name (programmatically) that will default to a
different name instead of MyDoc.doc.
Thanks,
Chuck Tag: Serializing a Media Player File Tag: 87172
RichTextBox control
I've just started messing around with the new .NET 2.0 RichTextBox control
and I've got a question. How would I, for example, underline the selected
block of text bearing in mind that the selection might consist of different
fonts and / or styles (ie. SelectedFont will be 'null') Tag: Serializing a Media Player File Tag: 87170
Add / Remove Program
Hello
When we build a setup project.
As long as we use the same setup.msi, it will give you the option of repair
& remove.
However, if I send them an update, it tells you have an instance of the
program installed, remove it by going to add / remove.
Is there a way I can give them a remove option in my updated setup.msi as
well ?
That would help a lot!
Thanks
HS Tag: Serializing a Media Player File Tag: 87167
Close a Instance of a Class
Hi all,
How do I close a instance of a class created like this:
I call this class in my project like this
StatMess.Show("Testing")
this shows a status form
...I do some things here
now here is where I want to close the status form?
Class code:
Imports System.Drawing.Drawing2D, System.Drawing, System.Windows.Forms
Public Class StatMess
Inherits Form
Private foreCol As Color = SystemColors.ControlText
Private backCol As Color = SystemColors.Control
Private fnt As Font = New Font("Arial", 8)
Public Overloads Shared Sub show(ByVal message As String)
Dim frmMess As New StatMess
frmMess.StatusMessage(message)
End Sub
Private Sub StatusMessage(ByVal message As String)
Me.SuspendLayout()
etc........
End Sub
End Class Tag: Serializing a Media Player File Tag: 87165
Putting custom objects on the clipboard
All,
It seems that there has been some discussion of this issue, but I can't find
any real answers. How does one copy a custom object onto the clipboard and
then retrieve it? I can do this with standard types and collections of
standard types, but if I use a custom object the retrieved objects are
always null. For example, given the following class:
public class MyObject : Object
{
private string m_Name = "";
public MyObject(string name)
{
m_Name = name;
}
public string Name { get { return "MyObject:"+m_Name; } }
}
this code does not successfully copy/retrieve a MyObject object usign the
Clipboard:
MyObject myObj = new MyObject("Foo");
DataFormats.Format f = DataFormats.GetFormat("MyObject");
DataObject dObj = new DataObject(f.Name, myObj);
Clipboard.SetDataObject(dObj, false);
// Get it right back out
IDataObject obj = Clipboard.GetDataObject();
if (obj.GetDataPresent(f.Name))
{
MyObject stuff = (MyObject)obj.GetData(f.Name, true);
if(stuff == null)
MessageBox.Show("GetData failed for " + f.Name + "!");
else
{
MessageBox.Show("MyObject on Clipboard was: " + stuff.Name,"GetData
successful!");
}
}
The GetDataPresent call is successful, but a null reference always comes
back from GetData; the autoConvert param doesn't seem to have any affect.
Do custom objects have to implement some interface or derive from some base
clsss to make this possible? Must they be cloneable? Serializable?
Any advice or suggestions?
Keith Tag: Serializing a Media Player File Tag: 87164
MessageBox problem
Hello,
When I use MessageBox.Show(owner, ...) to display a modal dialog box the
'bong' sound is made immediately but the message box is not painted. For
some reason, pressing the ALT key will cause the message box to appear.
The application contains around 15 windows forms, spread over all the screen
space on three monitors. I know that the message box is not being painted
behind one of these forms as I deliberatlely left space on the screen where
it would appear and it appeared when I pressed ALT, but not before. So it is
not an issue with the Topmost property of the forms.
Any ideas? The problem occurs with every message box in the application. I
think it is related to the amount of painting going on since if I minimise
all the forms in the application except the one that will display the message
box it works. However, even when all displayed the forms appear to be
repainting correctly so I have no idea how to correct this issue...
Cheers,
David Tag: Serializing a Media Player File Tag: 87162
winform fails to set size correctly!
There must be something happening behind the scenes to "help" me, but I've
got a real problem.
I've embedded an AxWebBrowser directly onto a form, and I'm trying to set
the size of the form to accomodate the contents. The width sets to a
predefined number of pixels (816) correctly, but I can't get the height to
work. The code setting the height is below.
You can see what I'm doing is trying to set the form to be so tall that
there's no vertical scrollbar. I do that by asking for the size of the
scrollHeight, and growing the form so the client area is as large as the
value of scrollHeight. But this code fails. The value of desiredHeight
comes back with 7409, and the currentHeight is 293, for a delta of 7116 and
a targetHeight of 7436. But when I set "this.Height = 7436" the form only
grows to to 1036. That number is always the same.
My screen resolution is 1280 * 1024. Does that affect the maximum possible
size of a winform? Would I get the growth I need if I rendered this
offscreen? The real reason I'm trying to work this out anyway is to do a
screen capture and turn HTML into TIFFs, so doing it offscreen (or in
memory) is the real target here, anyway.
private void FitVertical()
{
MSHTML.HTMLDocumentClass doc =
(MSHTML.HTMLDocumentClass)AxWebBrowser.Document;
MSHTML.HTMLBodyClass body = (MSHTML.HTMLBodyClass)doc.body;
int desiredHeight = body.scrollHeight;
int currentHeight = this.ClientSize.Height;
int delta = desiredHeight - currentHeight;
int targetHeight = this.Height + delta;
this.Height = targetHeight;
} Tag: Serializing a Media Player File Tag: 87157
How to access a Icons different sizes during runtime?
Hello,
I have a simple Form with a PictureBox that I'm assigning a ico-File during
Design-Time.
Depending on SizeMode and current size it displays the correct Icon of size
16x16, 24x24, etc.
Now I need to access the Icon behind that PictureBox during runtime and
extract the different sizes 16x16, 24x24 etc. How can I do this?
Thanks,
Walter Tag: Serializing a Media Player File Tag: 87156
Exporting managed Icon to native applications
Hi,
I've to port a managed application as a control to a legacy native
application (COM). The requirement here is exporting the
System.Drawing.Icon accessible to native application.
Can anybody suggest a way in doing this?
Thanks in advance,
Veera CH Tag: Serializing a Media Player File Tag: 87153
Explorer- or Outlookbar
Hello,
is there an Explorer- or Outlookbar component integrated in VS 2005? One of
the screenshots looked like, but I could not find it.
Thanks
Thomas Tag: Serializing a Media Player File Tag: 87152
employee application - disconnected model problem.
I want to write an application for employee tracking.
But, I am confused with the disconnected model of ADO.NET ...
It was easy with Delphi's connection oriented approach...
Selecting all the employees into a dataset at start-up seems to be
time-consuming and unnecessary.
Is there a better approach to this problem.
I mean, for ex., selecting employees one at a time.
Is there anyone designing an app like this and using a programming paradigm
that can be helpfull to me...
thanks in advance... Tag: Serializing a Media Player File Tag: 87149
Master/detail form in vs2005
Hi
What are the steps to create a master detail form in vs2005? I have the team
suite beta2.
Thanks
Regards Tag: Serializing a Media Player File Tag: 87148
Dialogs Missing text
VB.NET winform appliation.
I created a simple application and it works fine on my machine, but on a
customer's it works, but message boxes have no prompt text or button text.
Any ideas ? Tag: Serializing a Media Player File Tag: 87146
HtmlEncode not working properly
Hi, i'm trying to use HttpUtility.HtmlEncode(string) from System.Web
inside a dll called from VB6. Locally it works fine, but when i deploy
it in my test enviroment the function always returns the string as it
arrives.
Am i doing anything wrong? do i have set anything up in my test
server? Tag: Serializing a Media Player File Tag: 87143
What's the main difference between Application.Exit() and Application.ExitThread()?
Hi
Can anyone tell me the difference between ¡yApplication.Exit()¡z and
¡yApplication.ExitThread()¡z?
I'm confused by the MSDN's explanation....
I'v try some codings but find nothing different between two of them!
Can someone give me explames?
Thanks! Tag: Serializing a Media Player File Tag: 87142
Controlled scroll of Internet Explorer window via windows form
Hi every1,
I searched a while for this but found nothing usable honestly.
What I would like to do is the following:
I use a windows form application to generate an html page. Now my question:
Is it possible to scroll the Internet Explorer page timed by my windows app?
On this html page I have certain timings and I would like to scroll when a
certain time is passed...
Can somebody point me in the right direction?
Thanks beforehand.
Greets,
Tom. Tag: Serializing a Media Player File Tag: 87139
Has the EnableVisualStyles bug hit me?
Hello All,
I have a .NET application running on Windows XP. I have quite a few forms,
some modal and some modeless. Once in a while we get a wierd exception in
the application and most of the time the code is transferred to the top
level 'ThreadExceptionEventHandler'. It is difficult to get the information
on actual exception. Most of the time it seems to say "External component
has thrown an exception' and the source of the exception object is 'System'
Doing a bit of searching on the internet, I came across the known bug in
EnableVisualStyles( ). I do not call the Application.EnableVisualStyles at
all. but I do call Application.DoEvents (this was suggested as a fix
somewhere) I tried looking for the comctl32.dll. In the System32 folder the
dll has version 5.82. One of the articles on the internet said, XP uses 6.0
by default. Where would this dll be?
I do get rounded corners for my form's title bar, does this mean that my
application is using visual style? If yes where is it getting set? Is it the
default under Windows XP (SP2)?
Can somebody direct me to information which will lead to better
understanding of visual styles and the related bug. I don't even know
whether what I am facing is the same bug or not
TIA,
--Saurabh Tag: Serializing a Media Player File Tag: 87136
Displaying a regular windows app inside a control window
What I am trying to do is launch a windows application from within my
WinForms application. Once this is done I want to have this external
application behave like a control on my WinForms app (no longer
appears in status bar, no frame etc.).
I remember seeing a Code Project article describing how to do this,
but hours of googling for it has not turned up anything. Does anyone
reading this remember the article?
While I can launch an application using System.Diagnostics, find a
windows handle using an API call I wouldn't have a clue how to modify
it. Does anyone know how I could go about modifying the application?
I would really appreciate any help and I am sure I won't be the only
person who would benefit from this knowledge.
regards,
Rick Tag: Serializing a Media Player File Tag: 87135
tooltips for combobox ?
I have looked in every nook and cranny and I could not find any answer.
How do I implement tooltips in a combobox (while the combobox is expanded) ?
I want to have a tooltip for each item in the combobox. I know how to make
it work for a listbox, but not for a combobox.
So when you expand a combobox and start browsing the items, I want a tooltip
to appear for each item.
Someone please help!
P.S. (I cross posted to C# as well)
Thanks Tag: Serializing a Media Player File Tag: 87124
Double buffer a form
Is there some trick to double buffer a whole form without having to subclass
every single control on it to make each control double buffered?
I've noticed that when I resize my form the controls on it starts flicking
so much it's not even funny.
I thought I could be clever and do something like this
foreach(Control c in this.Controls){
// Set the value of the double-buffering style bits to true.
c.SetStyle(ControlStyles.DoubleBuffer, true);
}
but that won't work since the SetStyle method is declared as protected in
Control. (Why is it declared protected?)
Martin Tag: Serializing a Media Player File Tag: 87123
Goddamn Bug:ListView Updating Too Slow When Done Through Other Cla
Please help us!
We wasted a couple of days debugging a slow list view control in .NET
and we realized that if you try to update the listview's listitems from a
class other than the form on which the listview is placed, it will get REAL
slow!
This seems to be a bug which we hope to be fixed in later versions of .NET
framework, but for now, we need a workaround quickly.
Any comments?
Thanx in advance. Tag: Serializing a Media Player File Tag: 87119
richtextbox
i got mdichild working. i am using withevents procedure. the message is
not getting through richtextbox. but i can see debug window .
here is code:
class1.vb:
Public Sub New(ByVal mParent As mainPirateChat)
m_parent = mParent
_Connection = New ConnectionFactory
nStatus = New frmStatus
nStatus.MdiParent = m_parent
nStatus.Show()
End Sub
Public Sub New(ByVal mparent As mainPirateChat, ByVal szChannel
As String)
szTag = szChannel
m_parent = mparent
Me.NewChannel(m_parent, szChannel)
End Sub
Delegate Sub OneArgSub(ByVal rtb As RichTextBox, ByVal szText As
String, ByVal szColour As String, ByVal szNum As Integer)
Public deleg As OneArgSub
Private Sub _Connection_onChanMsg(ByVal szNick As String, ByVal
szChannel As String, ByVal szText As String) Handles _Connection.onChanMsg
nChan = New frmChannel
deleg = New OneArgSub(AddressOf DisplayMessage)
deleg.Invoke(nChan.rtbChannel, "<" & szNick & "> " &
szText.ToString(), GetUserColours.colourChat, 11)
Debug.WriteLine("M :" & szText)
End Sub
Private Sub _Connection_onNickJoin(ByVal szNick As String, ByVal szHost
As String, ByVal szChannel As String) Handles _Connection.onNickJoin
Debug.WriteLine("joined :" & szTag & " " & szNick & " " &
szHost & " " & szChannel)
nChan = New frmChannel
nChan.Text = szTag
nChan.lstNames.Items.Add(szNick)
nChan.Text = szTag.ToLower & " [" &
nChan.lstNames.Items.Count & "]"
If szNick <> _Connection.Nick Then
deleg = New OneArgSub(AddressOf DisplayMessage)
deleg.Invoke(nChan.rtbChannel, "<" & szNick & "> " & "["
& szHost & "] " & " has joined " & szChannel.ToString(),
GetUserColours.colourJoin, 1)
End If
End Sub
u can see in debug.writerline:
M :looooooooooool
ExTriaL!ExTriaL@163.121.174.87 PRIVMSG #usa :looooooooooool
joined :#usa diana-- !~buttafly@203.175.254.38 #usa
diana--!~buttafly@203.175.254.38 JOIN :#usa
why is that not getting tru richtextbox.
regards, Tag: Serializing a Media Player File Tag: 87118
C# namespace for SQLServer connection dialog et al.
Are there any C# namespaces that encapsulate the "Connect to SQL Server"
dialog that appears when you launch the Query Analyzer? I would also be
interested in dialogs to select the current database. If they do not already
exist, how do I retrieve the data that is necessary to create such a dialog
myself?
Thanks in advance,
Brian Hough Tag: Serializing a Media Player File Tag: 87117
Maximising window using shortcut
I created a windows form (using J#), set the BorderStyle to FixedDialog, and
disabled the maximise box. All I wanted was that the user should not be able
to change the size of the window. After my application was built, I created a
shortcut to it. In the shortcut properties, I set the Run: property to
"Maximised" from "Normal Window". When I started the application from the
shortcut, it was maximised. I could neither resize the window, nor "restore"
it (as expected).
I think this behavior needs to be looked into. I feel that if an
application's maximise button is disabled, then the shortcut should'nt be
able to show the form as maximised.
--
Sushovan, a crazy junior Tag: Serializing a Media Player File Tag: 87116
DataSource Property and Thread Safety
What happens if the object referenced by the DataSource property in a ListBox
is updated by another thread? Is ListBox smart enough to check InvokeRequired
before updating the GUI based on the change? IList doesn't publish any
events, so it's not clear how the changes to the IList are being detected
under the covers. Tag: Serializing a Media Player File Tag: 87109
GUI issues in MDI application
Hi ,
Please help me with the following issues as soon as possible. Thanks in
advance for all of the timely help.
I have a MDI windows application made in VC#. It has 3 child forms and each
form contains 4 panels each. Besides this I have a login form which is not
the MDI children . At run time the application start with a class (which
ensures that there is only one instance of application), then control comes
to login form and then comes to MDI parent form.
I have some doubts and problems with GUI.
1. I am not able to disable the ControlBox of the MDI Children forms. I have
set the following properties for all of the MDI child forms...
ControlBox=False;
MinimizeBox = False;
MaximizeBox = False;
I searched for the issue and found it as a big bug in DotNet on the
following link ...
http://www.dotnet247.com/247reference/msgs/33/169116.aspx
Unable to remove the control box is messing up my application.
2. I read somewhere that if you don't set the project's starting object(at
runtime) as MDI parent form, then MDI applications in DotNet create
problems. Is it true ?
3. I have some common panel and functionlity. Right now that common panel
has been replicated on each of the form. What is the best way to use these
common panel and where to put the functionality.
4. How to change the the background colour of MDI Parent form. Right now I
am using the following article but it is not changing the background
colour of my form. The link is ...
http://support.microsoft.com/kb/319465/EN-US/
5. A strange issue .. Whenever I minimize the MDI parent form and restore
it.back, the panels relocates in down direction. Each time I minimize it
and restores back , it keep on moving in the downward
direction.
I don't have extensive experience of working in C#. Please forgive me
if the issues seems to be silly and guide me.
Thanking you,
Rajat Tandon.
A DotNet Learner. Tag: Serializing a Media Player File Tag: 87108
ToolTip : Setting the pop-up location.
With the [ToolTip] control - I'm wondering if there is a way to explicitly
set the location that it pops up. From it's ref docs I can't see a way to
set a location - and I'm wanting to have different tool-tips popup based on
mouse activity within the bounds of a single control.
Is this possible - or is there perhaps another control that can be used for
pop-up tooltips?
Many thanks everyone.
===
Phil Tag: Serializing a Media Player File Tag: 87107
Embedding a form into a panel control
I am embedding a form into a panel control using pnl.Controls.Add(form);
This works pretty well, however there is one problem.
The panel can resize, so there are cases when the panel size is smaller than
the form embeded in it. The framework handles this problem by showing only a
piece of the form that fits in the panel. Is there a way to add scroll bars
to the panel so that the user can view the entire embedded form without
resizing the panel?
Is there any piece of code that handles this whole situation?
Thank you
Cezar Mart Tag: Serializing a Media Player File Tag: 87104
Ad Rotator Windows Form
I have a windows form app that has a web browser control on it. The browser
control will rotate ads in and out. These ads are to be loaded on the local
machine? I know asp.net has a rotator control, but windows forms do not.
Any suggestions on this?
Mark Tag: Serializing a Media Player File Tag: 87099
DataGrid: Custom combo box column question
Hi,
I have made my custom combo box column based on several articles
(http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx & other
articles).
I derived the custom column from DataGridTextBoxColumn, and show a combobox
when editing a cell's entry. The problem is that when I press <enter> or
<return>, the focus stays inside the cell. What should I do to have the
default behaviour (move to the cell on the next row)?
Thanks,
--
Tom Tempelaere. Tag: Serializing a Media Player File Tag: 87097
Calling Web Services from a Web Form throws CAS violation
We created a C# Windows forms application and put the .EXE on our web server.
We can download the executable from the web server to a desktop and it will
display OK. When we click a button that causes the executable to call a web
service on the same web server, we get the following code access security
violation.
-------------- begin violation -------------------------------------------
Could not talk to the web server. Error = 'System.InvalidOperationException:
There is an error in XML document (1, 269). --->
System.Security.SecurityException: Security error.
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read2_ReturnDS(Boolean isNullable, Boolean checkType)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read9_StorlibReadResponse()
The granted set of the failing assembly was:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"/>
<IPermission
class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="None"/>
<IPermission class="System.Security.Permissions.SecurityPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"/>
<IPermission class="System.Net.DnsPermission, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"/>
<IPermission class="System.Drawing.Printing.PrintingPermission,
System.Drawing, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="NoPrinting"/>
<IPermission class="System.Diagnostics.PerformanceCounterPermission,
System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"/>
<IPermission class="System.Security.Permissions.UrlIdentityPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"
Url="file://C:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll"/>
<IPermission class="System.Security.Permissions.ZoneIdentityPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"
Zone="MyComputer"/>
</PermissionSet>
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at BackIssue.com.kcc.cad.Service.StorlibRead(String wildcard)
at BackIssue.FormMain.searchForWildcard()'
---------------- end violation -------------------------------------------
What do I need to do to get past this violation?
Joe Tag: Serializing a Media Player File Tag: 87094
TABLE
Hi,
my code is:
DataTable dt = myDataSet.Tables[0];
newDataSet.Tables.Add(dt);
This code generate an error... "tha table dt already belongs to a dataset"...
is there a solution to this problem? namely, I would like to reach this
aim... is there another solution code?
Thanks Tag: Serializing a Media Player File Tag: 87091
General Informations about winforms
I am searching for informations related to the creation of apps using winforms : i have to create a very nice appearance like the classic winamp or qcd.
any links to tuto, guide, samples, or advices would be helpful !
Thanks.
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... Tag: Serializing a Media Player File Tag: 87088
CREATE A DATASET
Hi,
I would like to add three table to a DataSet: these three tables have tha
same structure (columns name and type) but contains different records.
When I try to add them, at the second table, I receive an error: "This table
belongs already to another DataSet"
Could you please help me to solve the problem Tag: Serializing a Media Player File Tag: 87087
Build a DataSet
Hi,
in my SQL Server Database I've a table named Customer with the following
column:
CustomerID: primary key
CompanyName: name of the customer
Type: customer can be of type ROOT, BRANCH, COST_CENTER
OwnerID: the key number (CustomerID) to which the customer belongs
This table contains 3 types of customer: ROOT, BRANCH and COST_CENTER.
A ROOT can have many Branches and Cost_Centers
A Branch can have many Cost_Centers.
The column OwnerID allows to identify to which that customer belongs: if the
customer is a ROOT, this column has the same number of CustomerID.
My question is: how can I create a DataSet with three table in relation,
namely:
ROOT, BRANCH and COST_CENTER relationed with column CustomerID and OwnerID
The three table should show the tree like this:
ROOT with its BRANCHES and COST_CENTERS
for each BRANCHES its COCST_CENTERS
Is it a problem if the table have the same structure for the three new?
Thank you. Tag: Serializing a Media Player File Tag: 87085
Adjust scrollbarvalue of TreeView
Hi,
I have 2 TreeViews. When i scroll one of them the other one must scroll
also, so there are synchronized.
Does somebody knows how to read out the scrollbar value of a TreeView and
how to put a new value in?
Thanx Tag: Serializing a Media Player File Tag: 87082
Dutch User Group Conference, International Speakers!!!
Please check this out:
Software developers conference may 30-31th may Papendal/Arnhem The
Netherlands
90 session covering C#, VB.NET, ASP.NET, Delphi 32 and Delphi.NET
www.sdc.nl
Software Developer Network www.sdn.nl
The Software Developer Network is usergroup run by software developers for
software developers. The goal of the Software Developer Network is to
further the knowledge of its members and to form a network of developers.
The SDN counts a total of 2000 developers.
regards,
Erik Visser Tag: Serializing a Media Player File Tag: 87081
Currently position my windows form
Hi
How can i set Currently position of my window form.
for example:
x = this.Location.X;
y = this.Location.Y;
//(x=199, y =200);
//i want to set my windows form in x(10,20)????
Thanks!! Tag: Serializing a Media Player File Tag: 87079
howto create a simple boundable property
I want to create a usercontrol usable in a winform.
This usercontrol has some textbox and 1 simple property called MyValue. It's
code is :
private int myValue;
public int MyValue{
get{ return myValue; }
set{ myValue = value; }
}
I want to bind my Textbox and this property to dataset columns. Unfortunatly
MyValue property cause adding new row in the dataset to fail. (BindingContext
never position to the added row).
My question: Is there anything to do to make this simple property bindable ?
Thanks for any help. Tag: Serializing a Media Player File Tag: 87078
I am working in vb.net and need to understand how to serialize a .wmv file to
a memory stream.