Real difference between Office Interop and VSTO????
Hi there,
What is real difference between using Office Interop Assemblies and
VSTO? I want to do some tasks with Office within .net:
1. Reading an Excel workbook
2. Creating a Word document
3. Sending an email via Outlook
4. ...
I used to use Office Interop Assemblies (Referencing Office Interop
Assemblies and utilize Microsoft.Office.Interop.Outlook namespace) to
complete my tasks. But I have some difficulties. In this approach each
operation leads to load an entire Excel or Word application. So this
is very slow and memory consumer. In some cases that my code
encounters exceptions, the WORD.EXE process remains in memory
forever...
I'm interested if I can Visual Studio Tools for Office (VSTO) to get
rid of these entire nasty problems? If not, is there a better way? I
want to use these codes on a server that many users may want to read
some excel workbooks simultaneously.
Thanks: Afshar Tag: I found affordable health insurance. Tag: 545917
Cosmetic Pouches Replica Handbags - Cheapest Fake Cosmetic Pouches
Cosmetic Pouches Replica Handbags - Cheapest Fake Cosmetic Pouches
Replica Handbags Website : http://www.cnreplicas.com
Gucci Replicas Handbag : http://www.cnreplicas.com/Gucci_Replica_Bags.html
Cosmetic Pouches Replica Hand bag : http://www.cnreplicas.com/Cosmetic_Pouches.html
Gucci Cosmetic Pouches replica handbags are recognized by customers
worldwide. The following styles and colors you can find in our store.
Each bag is made of highest quality materials blending with detailed
imitation. We believe that no matter what you're looking for in a fake
bag, this line will exceed your expectations.
Cosmetic Pouches All Bags :
Cosmetic Pouch - Gold : http://www.cnreplicas.com/Gucci_1012.html
Cosmetic Pouch - Guccissima : http://www.cnreplicas.com/Gucci_1016.html
Cosmetic Pouch - Silver : http://www.cnreplicas.com/Gucci_1017.html
Cosmetic Pouch - White : http://www.cnreplicas.com/Gucci_1020.html
Our bag store offers Gucci Cosmetic Pouches replica handbags in
variety of size, shape and design. We sell branded designer hand bags,
shoulder bags, clutches, pures and wallets. Tag: I found affordable health insurance. Tag: 545916
Cruise Stamped Replica Handbags - Cheapest Fake Cruise Stamped
Cruise Stamped Replica Handbags - Cheapest Fake Cruise Stamped
Replica Handbags Website : http://www.cnreplicas.com
Louis Vuitton Replicas Handbag : http://www.cnreplicas.com/Louis_Vuitton_Replica_Bags.html
Cruise Stamped Replica Hand bag : http://www.cnreplicas.com/Cruise_Stamped.html
Louis Vuitton Cruise Stamped replica handbags are recognized by
customers worldwide. The following styles and colors you can find in
our store. Each bag is made of highest quality materials blending with
detailed imitation. We believe that no matter what you're looking for
in a fake bag, this line will exceed your expectations.
Cruise Stamped All Bags :
Globe Shopper Cabas GM - Blue : http://www.cnreplicas.com/Louis_Vuitton_16.html
Globe Shopper Cabas GM - Pink : http://www.cnreplicas.com/Louis_Vuitton_17.html
Globe Shopper Cabas GM - Yellow : http://www.cnreplicas.com/Louis_Vuitton_18.html
Globe Shopper Cabas MM - Blue : http://www.cnreplicas.com/Louis_Vuitton_19.html
Globe Shopper Cabas MM - Pink : http://www.cnreplicas.com/Louis_Vuitton_20.html
Globe Shopper Cabas MM - Yellow : http://www.cnreplicas.com/Louis_Vuitton_21.html
Globe Shopper Cabas PM - Blue : http://www.cnreplicas.com/Louis_Vuitton_22.html
Globe Shopper Cabas PM - Pink : http://www.cnreplicas.com/Louis_Vuitton_23.html
Globe Shopper Cabas PM - Yellow : http://www.cnreplicas.com/Louis_Vuitton_24.html
Stamped Bag GM - Brown : http://www.cnreplicas.com/Louis_Vuitton_25.html
Stamped Bag GM - Cocao : http://www.cnreplicas.com/Louis_Vuitton_461.html
Stamped Bag GM - Grey : http://www.cnreplicas.com/Louis_Vuitton_462.html
Stamped Bag PM - Cacao : http://www.cnreplicas.com/Louis_Vuitton_463.html
Stamped Bag PM - Grey : http://www.cnreplicas.com/Louis_Vuitton_464.html
Our bag store offers Louis Vuitton Cruise Stamped replica handbags in
variety of size, shape and design. We sell branded designer hand bags,
shoulder bags, clutches, pures and wallets. Tag: I found affordable health insurance. Tag: 545915
"Categorized" DataGridView (windows forms
OK, I've really been struggling with the best way to go about this.
I have a read-only DataGridView bound via a BindingSource to a particular
table in a strongly typed DataSet/DataTable. I can sort, and everything
works fine.
But, rather than having a column header and then ALL the rows, I want to
have the various rows grouped into categories. Categories can have a
different number of rows, including NO rows (although the category header
should still show).
For example:
-------------------------------|
| Col1 | Col2 | Col3 |
| Category1 Title Here |
| r1c1 | r1c2 | r1c3 |
| r2c1 | r2c2 | r3c3 |
| r3c1 | r3c2 | r3c3 |
| Category2 Title Here |
| r4c1 | r4c2 | r4c3 |
| r5c1 | r5c2 | r5c3 |
|------------------------------|
Hopefull that text comes out close to correct.
So ALL my rows are still coming from one datatable, but (despite the fact
that I have the rows sequentially numbered) the rows for a given category
may very likely be spread out throughout the datatable.
The entire DataGridView should still scroll as one large list (individual
categories do not scroll independently).
I've tried a couple different approaches to this:
1) This is something of a migration from an existing web-based design. So,
I thought to best give me that functionality, I could use a FlowLayoutPanel
with a separate DataGridView for each category. The first category would
have it's column headers off, the others would be turned off. Upon the
first grid sorting, I would programmatically force the sort upon the other
DataGridViews.
This gave me several problems... first the FlowLayoutPanel was a PITA to
use. To prevent individual scrolling, I had to get the individual
DataGridViews to constantly resize themselves as their container
resized/rows were added (text of a cell might wrap). This... sorta worked,
but the second datagrid appeared where it was supposed to. Sometimes NEXT
to the previous datagridview, sometimes below it.
Other problem with this approach is keeping the columns aligned. I wanted
the entire object to more or less fill (horizontally) it's container. For
whatever reason (I think an issue with the FlowLayoutPanel), the second
DataGridView would never size itself as wide as the first.
2) Other option I tried was going back to one 'large' DataGridView. This
would give me the columns aligned like I wanted as well as scroll the entire
thing together. My thought was, derive my own custom "binding source" which
would actually itself a separate BindingSource object for each of the
categories (each would have an appropriate filter set on it). It would then
be my derived source's job to "concatentate" the lists as necessary to
provide to the DataGridView as well as pass on Sorting information to the
individual BindingSources. These concatenated lists would contain "special"
items in place for the category headers. An event handler for RowDataBound
could then detect these special items and change row appearance
appropriately.
This didn't work out either. Deriving directly from BindingSource, I
couldn't seem to actually intercept sending of the list of items to the
datagridview. I overrode a couple things (the implemented GetEnumerator(),
indexer [], etc). GetEnumerator() was never called. The indexer did get
called, but always with an index of 0 (which, comparing to the return value
of base[i] was jsut returning the entire DataSet... or DataTable, I forget
which - in either case, the indexer was not being used to retrieve each
row).
Any thoughts about a better way to go about this? Was I heading down the
right path with either of these? Am I just completely in left field?
Thanks
--
Adam Clauss Tag: I found affordable health insurance. Tag: 545913
The current news channel may not be valid
When I start Visual C# 2005 express there is a window
titled "Visual C3 developer news". Inside it says : "The
current news channel might not be valid ... To change the
news channel on the Tools menu click Options, then expand
Environment and click Startup.
But when I do that there is no Startup button or anything
else named startup. Any ideas?
thanks,
Chas Tag: I found affordable health insurance. Tag: 545912
Movado Exclusive Ladies Watch 0605104 Replica
Movado Exclusive Ladies Watch 0605104 Replica, Fake, Cheap, AAA
Replica watch
Movado Exclusive Ladies Watch 0605104 Link : http://www.aaa-replica-watch.com/Movado_0605104.html
Buy the cheapest Movado Exclusive Ladies Watch 0605104 in toppest
Replica . www.aaa-replica-watch.com helps you to save money!
Movado-0605104 , Movado Exclusive Ladies Watch 0605104 , Replia ,
Cheap , Fake , imitation , Movado Watches
Movado Exclusive Ladies Watch 0605104 Information :
Brand : Movado Watches (http://www.aaa-replica-watch.com/
Replica_Movado.html )
Gender : Ladies
Model : Movado-0605104
Case Material : Gold-tone Stainless Steel
Case Diameter : 605104, 0605104, Movado-605104, Movado-0605104
605104, 0605104, Movado-605104, M
Dial Color : Black
Bezel : Fixed
Movement : Quartz
Clasp : Two-tone Stainless Steel
Water Resistant : 30m/100ft
Crystal : Scratch Resistant Sapphire
Our Price : $ 225.00
Gold Tone Stainless Steel Case And Bracelet. Black Museum Dial With
Gold Tone Hands. Jewelry Clasp. Precise Swiss Quartz Movement. Water
Resistant To 30M. Case Measures 25MM Diameter By 6MM Thick. Movado
Watch Model Numbers 605104 / 0605104.<br>Interested in the matching
Mens version of this Movado watch? You can view the Movado Exclusive
Mens Watch 0605103 here.
Movado Exclusive Ladies Watch 0605104 Replica, With the mix of finest
craftsmanship and contemporary styling, not only does it reflect the
time but also care you put into looking good. choose one to promote
your quality and make yourself impressive among people
Thank you for choosing www.aaa-replica-watch.com as your reliable
dealer of quality waches including Movado Exclusive Ladies Watch
0605104 . we guarantee every watch you receive will be exact watch you
ordered. Each watch sold enjoy one year Warranty for free repair.
Every order from aaa-replica-watches is shipped via EMS, the customer
is responsible for the shipping fee on the first order, but since the
second watch you buy from our site, the shipping cost is free. Please
note that If the total amount of payment is over $600(USD), the
customer is required to contact our customer service before sending
the money in case failed payment. If you have any other questions
please check our other pages or feel free to email us by service@aaa-
replica-watch.com.
The Same Movado Watches Series :
Movado Faceto Mens Watch 0605565 :
http://www.aaa-replica.com/Movado_0605565.html
Movado Faceto Diamond Steel Ladies Watch 0605586 :
http://www.aaa-replica.com/Movado_Faceto_Ladies_Watch_0605586.html
Movado Faceto Steel Diamond Mens Watch 0605585 :
http://www.aaa-replica.com/Movado_0605585.html
Movado Faceto Mens Watch 0605042 :
http://www.aaa-replica.com/Movado_0605042.html
Movado Faceto Mother-of-Pearl Ladies Watch 0605171 :
http://www.aaa-replica.com/Movado_0605171.html
Movado Faceto Micron Gold Diamond Ladies Watch 0605147 :
http://www.aaa-replica.com/Movado_0605147.html
Movado Faceto Diamond Ladies Watch 0605146 :
http://www.aaa-replica.com/Movado_0605146.html
Movado Faceto Mens Watch 0605044 :
http://www.aaa-replica.com/Movado_0605044.html
Movado Faceto Mens Watch 0605038 :
http://www.aaa-replica.com/Movado_0605038.html
Movado Faceto Ladies Watch 0605566 :
http://www.aaa-replica.com/Movado_0605566.html
Movado Faceto Womens Watch 0605039 :
http://www.aaa-replica.com/Movado_0605039.html
Movado Fiero Tungsten Carbide Black Rubber Mens Watch 0605850 :
http://www.aaa-replica.com/Movado_Fiero_Tungsten_Mens_Watch_0605850.html Tag: I found affordable health insurance. Tag: 545911
dedect right click in DataGridView column header
I need to capture mouse right click in DataGridView column header. I tried
class MyDataGridView: DataGridView {
protected override void
OnColumnHeaderMouseClick(DataGridViewCellMouseEventArgs e) {
....
OnColumnHeaderMouseClick occurs when header is right or left-clicked by
mouse. DataGridViewCellMouseEventArgs does not provide
information which mouse button is pressed.
How to find when mouse is right-clicked in column header ?
Andrus. Tag: I found affordable health insurance. Tag: 545901
best practice to indicate long operation
I need to indicate that some time-consumng operation is in progress in .NET
3.5 WinForms application.
I created class below and plan to use it like
using (WaitOper waitOper = new WaitOper())
TimeConsumingOperation();
Is this best way for this ?
Andrus.
using System;
using System.Windows.Forms;
class WaitOper : IDisposable {
Cursor saveCursor;
internal WaitOper() {
saveCursor = Cursor.Current;
Cursor.Current = Cursors.WaitCursor;
}
public void Dispose() {
Cursor.Current = saveCursor;
}
} Tag: I found affordable health insurance. Tag: 545900
Creating exe
Quick question, I have an application which has an exe, couple of dlls
and a config file. Is there any way possible to have all in exe file
to run? I mean, I would like to only one exe at the client side. Is it
possible?
Thanks. Tag: I found affordable health insurance. Tag: 545893
Dialog: Cancel button / esc key (Windows forms)
Hello, a short question: Do I have to add a cancel button to my form
dialog for it to be closable by the esc key? Right now I have no
cancel button in my dialog and I noticed the esc key will not close
it. First I thought the two textboxes I have in the dialog "consumed"
the esc key press but I removed them and the dialog still doesn't
close when the esc key is pressed so that was not it.
- Eric Tag: I found affordable health insurance. Tag: 545888
How to dynamically compile file with custom tool?
How can i dynamically compile a file with a custom tool like
MSDataSetGenerator
or other custom tool?
Thanks in advance Tag: I found affordable health insurance. Tag: 545876
Update underline datasource (Datagridview)
When I check/uncheck a checkbox in my datagridview, the datasource is
updated. How can I catch the event that the datasource has been updated?
Thanks. Tag: I found affordable health insurance. Tag: 545867
Problem with Browsable Properties
Hi, Thanks in advance for looking at this issue!
I am having a Problem with Browsable Properties, as follows:
1. I have an ancestor user control with browsable properties.
2. I create a descendant object and set the properties through the
designer, as expected.
3. I place an instance of the descendant object on a container object
as a control.
Sometimes the browsable properties on the descendent control get set
to null by the container object.
I really do not want the browsable properties to be modified or even
assessible by the container form.
Any Advice? Tag: I found affordable health insurance. Tag: 545864
About to give up :( please help
in hopes this is the last forum i have to ask in :)
"Send Page by Email" action
"know" i did this once long ago, but for the life of me i can neither
recall how nor find it on the web. any help would be greatly appriciated.
(not sure if it's a IE7 vs IE 6 thing (im that lost))
i have a WebBrowser control on my form and i would like to invoke the "Send
page by email" functionality. i tried stuff like this
<code>
int WM_COMMAND = 0x0111;
int ID_IE_FILE_SENDPAGE = 279;
m_NullPointer = IntPtr.Zero;
m_hWBShellDocObjHandle = (IntPtr)0;
HandleRef hr = new HandleRef(this.web, this.web.Handle);
IntPtr ret = SendMessage(hr, (uint)WM_COMMAND, (IntPtr)ID_IE_FILE_SENDPAGE,
m_NullPointer);
</code>
( from the CP )
and stuff like
<code>
web.Document.ExecCommand(......
</code>
none work.
the mailto route also seems to be the wrong path for me cause there seems to
be a limit to the body length and the html formatting is gone.
i did not use the System.Web.Mail because my users would not know what
values to supply for the configuration. ( figured the functionality is
already there....)
please point me the way ( sry bout the posts, it's just that one group
after the otehr is silent ) Tag: I found affordable health insurance. Tag: 545860
Window LostFocus event doesn't fire
I have an app that consists of a manager that can launch multiple
instances of another window object. These windows are generated from
underlying services and have inputs (such as textboxes) that match the
parameters of the underlying service. Each instance of a window can then
invoke that service.
The generated forms are borderless and have transparency.
Once I have several forms open, I want to have the ability to show when
a form loses focus by adjusting its opacity to 50%. However, the Window
LostFocus event is not firing.
Any suggestions as to why this could be happening?
Thanks!
*** Sent via Developersdex http://www.developersdex.com *** Tag: I found affordable health insurance. Tag: 545857
docking a form to a screen location
This question pertains to WPF.
In a XAML form, is there a way to cause a window object to dock itself
to a particular location on the screen?
I've been taked to create a "manager" for a larger app that would be
located on the right side of the screen, similar to something like
Yahoo's widget manager. We would also like the ability for it to "slide"
to the right into a tab or out of view wehn it loses focus.
Thanks!
*** Sent via Developersdex http://www.developersdex.com *** Tag: I found affordable health insurance. Tag: 545853
How to dispose MediaPlayer object?
Hello,
How do I explictly destruct a MediaPlayer object?
The compiler complained about overriding Finalize.
MediaPlayer does not implement IDisposable.
Any suggestions?
Thanks,
William Johnston Tag: I found affordable health insurance. Tag: 545851
Pictureboxes moving on their own volition when form is displayed
I have a user control that has this structure from top to bottom:
Label1
Label2
PictureBox1
Label3
PictureBoxes2 through 11
All of the controls are anchored Top,Left. Pictureboxes 2 through 11 are
right next to each other in the designer, with 1 pixel of space between
them.
This user control is added to a form that has this structure:
Form
TopLevelSplitContainer
TopLevelSplitContainer.Panel1
other stuff
TopLevelSplitContainer.Panel2
justAPanel
myUserControl
aDGV
Depending on something happening in the background, it displays the
UserControl or the DGV.
The problem is when I the UserControl is displayed in my form, it spaces out
pictureboxes 2 through 11 and ends up chopping off the right side of the
last picturebox.
I am adding the UserControl programmatically, but even if I just drop it on
the justAPanel in the designer, it does the same thing.
If I don't anchor the controls on MyUserControl at all, they don't spread
correctly vertically, and they are actually wider horizontally than they
would be if I anchored them.
When added programmatically to the form, the usercontrol is set to dock Left
and Top. If I don't dock it, it seems to center it, which chops off both
sides of the usercontrol.
Any ideas why my controls are being rendered differently in run mode than
they are in design mode?
My containing form is a user control, too, by the way, which does sit in an
actual Form that has a minimum size and a default size that this panel
should fit into if it weren't mucking up my picturebox locations.
The reason I have 10 picture boxes is because each one has its own click
event. Just thought I'd throw that in there before someone says "Why don't
you just combine the picture boxes into one?".
Sorry for the cross-posting; I'm desperate.
Thanks in advance.
RobinS.
GoldMail.com Tag: I found affordable health insurance. Tag: 545849
Reading & Searching a Huge file
Hi,
I have a text file having size about 2 GB. The text file format is like:
Numeric value[space]AlphaNumeric values
Numeric value[space]AlphaNumeric values
Numeric value[space]AlphaNumeric values
For example consider following chunk of actual data:
52 SANZP3118.00Q3126T070533N16CEPXT
96 SANZP3118.00Q7294T070534N17CEP
100 SBHPP3200.00Q16000T070534N18CEPXT
150 SBHPP3200.00Q1000T070534N19CEP
153 SBHPP3200.00Q5000070534N20CEP
159 SBHPP3200.00Q3000070534N21CEP
168 SBHPP3200.00Q111000T070534N22CEP
168 SLHGP375.00Q4000T070534N26CEP
210 SBHPP3200.0Q000T070534N23CEP
569 SLHGP375.00Q23000T070534N24CEP
1000 SLHGP375.00Q162000T070534N25CEP
1010 SLHGP375.00Q4000T070534N26CEP
Now what I want to is to find a specific numeric value at the beginning of
the line. For example in the above few lines the numeric values are
52,96,100,150,153,159,168,210,569,1000,1010 (these values are always
sorted). Suppose I have to search 168. Since the values are sorted I can use
the binary search technique to search a specific numeric value. But for that
I will have to read all the numeric values sequentially into some array in
memory. The other way is sequential search i.e to read line by line and
fetch the numeric value before [space] and compare it with required one.
What is the best possible way to perform searching in the above mentioned
file format.
Thanks in anticipation,
Regards,
Ahmad Jalil Qarshi Tag: I found affordable health insurance. Tag: 545848
For Mr. Skeet. MVP Defined [off-topic]
Just a funny qoute I got from a friend of mine, who is a MVP.
I got it via phone, in Swedish, but will translate as best I can..
<q>
Well it is simple. As Microsoft is a poor company with no assets, or monies,
whatsoever; they can't afford to hire skilled people. So they hand out nifty
titles to people like me, to do the work for them. For free! Sometimes
Microsoft ask me how stuff works. I don't have a problem with that.
<q/>
Sounds like you Jon.
- Michael Starberg Tag: I found affordable health insurance. Tag: 545845
How to live search for tutorials/examples of using C# for stored p
What keywords should I use for (google/live) searching for tutorials and
examples of using C# to write stored procedures in SQL Server?
There is a special name and I cannot remember it.
Thanks,
Siegfried Tag: I found affordable health insurance. Tag: 545841
get highlighted item in Combobox
Hi All,
I am trying to get the index of an item that the mouse is pointing/
hovering at.
Meaning, when user click the Combobox, droplist is show. When you
hover the mouse on item, it highlight it.
I want to get the item's index which the mouse is pointing at.
The problem is that I didn't find any event that been fired when mouse
highlightd/hover to other item in the drop downlist of the Combobox.
If anyone has any idea how to get the index or which event fires when
mouse hovers to other item, i'd be very thankfull,
TIA,
Alexia. Tag: I found affordable health insurance. Tag: 545836
wpf & .config files
Everyone:
I'm trying to read app settings from my configuration file. The code works
fine in winform but doesn't return anything in wpf. No error is thrown.
This code is:
public string GetMSSQLConnectionString()
{
return
System.Configuration.ConfigurationSettings.AppSettings["MsSqlConnectionString"];
}
the [app].exe.config contains:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="MsSqlConnectionString" value="Data
Source=(local)\sqlexpress;Integrated Security=SSPI;Initial Catalog=TEST;" />
</appSettings>
</configuration>
I've done some searching and can't find anything about this. Thanks for the
help.
Sincerely,
Dale Tag: I found affordable health insurance. Tag: 545833
Installer class not working during uninstall
Hi there,
This may be a little off-topic here but can anyone confirm that they've got
"System.Configuration.Install.Installer" working during an uninstall. The
"Installer" derivative I've set up works during installation but it's not
instantiated at all during an uninstall. I've spent several hours now
banging away at this and am no closer to finding what's wrong. It appears
outright broken to me at this point. Can someone confirm they've had success
with this. Thanks. Tag: I found affordable health insurance. Tag: 545831
Controlling compiler output, possible?
Hi
When creating a windows application you get a specific file and folder
structure when you compilte your code. I was wondering what sort of control
(perhaps not using VS.NET but other tools and command line) I have to
influence the way the output is made? At the moment I would get something
like this
App
bin
Release (contains .exe file & .dll files)
Images
Resources
Would it be possible to get the output to
App
Images
Resources
.exe and .dll files
?? If so, then how would it be solved with files pathes? Atm you have to use
something like Path.Combine(Environment.CurrentDirectory, "../../Resources")
to step up in the folder hierarchy to get from your exe to your files..
would be much nicer if I could use root relative paths such as
Path.Combine(Environment.CurrentDirectory, "/Resources")
Then a bit more advanced.I think I've seen this in an article before but is
it possible to compile all the dll files into my exe file? So I only have
App
Images
Resources
myapplication.exe
instead of
App
Images
Resources
myapplication.exe
somedll.dll
someotherdll.dll
yetanotherdll.dll
???
Thanks! Tag: I found affordable health insurance. Tag: 545826
WPF - Closing Application
Everyone:
When working with winform applications, you could check the reason for
closing the window. As in this example:
private void MainForm_FormClosing(object sender,
FormClosingEventArgs e)
{
if (e.CloseReason == CloseReason.UserClosing)
{
if (CloseApplication())
Application.Exit();
else
e.Cancel = true;
}
}
Now, e doesn't return a closereason. Is there anyway to check why the
window is closing?
Thanks,
Dale Williams Tag: I found affordable health insurance. Tag: 545825
Linq deferred loading doesn't seem to work
Hi,
I have an Association on my table; the association doesn't seem to
load. Here's the association:
private EntityRef<Shared.Employee> createdBy =
default( EntityRef<Shared.Employee> );
[Association( ThisKey = "CreatedById", IsForeignKey = true )]
public Shared.Employee CreatedBy {
get { return createdBy.Entity; }
set { createdBy.Entity = value; }
}
I try to access the association like this:
createdByName = myClass.CreatedBy.LogonName; // Shouldn't this cause
CreatedBy to load?
Instead I get a NullReferenceException. CreatedById is a valid value
and a record does exist, but Linq never seems to even bother executing
the select to load the Shared.Employee instance.
Any ideas?
Thanks
Andy Tag: I found affordable health insurance. Tag: 545818
TryParse?
Hi,
As far, as I know, this is not a good code:
------------------------------------------
double d = 0;
try
{
d = double.Parse(str);
}
catch { }
------------------------------------------
What is the recommended substitution? Using TryParse?
Regards,
DoB Tag: I found affordable health insurance. Tag: 545811
vs2008 ide standard/pro differences?
Hi, Just wondering if anyone knows whether the ide (also the for
example the syntax highlighting options etc.) of vs standard is dumbed
down in comparison to vs pro? regards, Igor Tag: I found affordable health insurance. Tag: 545810
SGBD servers list
Hi
I code a C# program.
I'm searching for a method to get DBMS servers list on network or
local, for
ORACLE
MySQL
I have found SMO for Microsoft SQL Server and it work very well but for
the other , I don't find none.
Is it a similar method for these other DMBS please ?
J-L
(French) Tag: I found affordable health insurance. Tag: 545807
XML files
I have to convert word 2007 files in xml using c#.
but i don't have any idea to do this pls help me to do this. Tag: I found affordable health insurance. Tag: 545806
.NET custom security: still possible?
Hi
I'm new to ASP.NET (from classic ASP) and wasn't aware of the Forms
Authentication security when I started working on a website. So I
built a login page that stores a CustomUser object in the Session, and
then I put a login check in the Master Page codebehind, Page_Load
event, which redirects to the Login.aspx if the login check fails.
I realise NOW that I should have gone th Forms Authentication (using
web.config) route, but I dont have the time to change this now - I
have to deliver the website today. I can come back later and change
this.
So FOR THE TIME BEING, how can I get my custom security system to
work?
The problem is, I have just put some code that uses the Sessions
CustomUser object - into the Page_Load event on one of my access-
restricted pages. But now I see that the Page_Load event of the
content page fires BEFORE the Master page login check. I tried moving
the login check to the Init event of the Master Page, but the content
page's Page_Load event still got executed.
So I guess what I'm asking is, how do I (and where do I) add code that
can check a Session object, and can then redirect the user WITHOUT
executing the rest of the Page_Load (or any other such events)?
Much appreciated.
Sean Tag: I found affordable health insurance. Tag: 545796
Comparing Type variables
I have a questions regarding comparing types. Suppose I have the following
classes:
class class1
{
}
class derivedClass : class1
{
}
derivedClass myObject;
I now have a function that takes a Type as a parameter
bool TestType(object o, Type typeToTest)
{
// accomplish something like return (o is typeToTest)
return o is typeToTest; // This won't work because typeToTest is a
variable and not the actual type but I want to be able to check if o is
derived from the type supplied.
return o.GetType() == typeToTest; // This doesn't work either
because it only checks if the object is of the given type but not if it can
be casted to the given type.
}
bool result = TestType (myObject, typeof(class1));
Thanks
Jeronimo Tag: I found affordable health insurance. Tag: 545795
Unbelievable experience with Honey hunting in Nepal
Honey Hunting is the real and frequent activity of indigenous Gurung
and
Magar Community in Bhujung and Pasgaon for honey hunting from which
they
are able to solve their problem of bread and butter. This ancestral
job of
honey hunting still continues in many remote villages of Nepal while
offering high tourism potential. A large section of travelers are
increasingly showing their interest in honey hunting thereby ensuring
staple sources of local revenue generation, besides Ghalegoan Bhujung
and
the hole of Annapurna region, Dhading and Jharlang across Ganesh Himal
Arun valley in Makalu and other trekking areas have become Popular for
honey hunting, a new tourist activity but in Nepal except Bhujung area
of
Annapurna region, special package of Honey hunting for tourist is not
developed yet. Nerveless, few lucky tourist get chance to observe
honey
hunting on spot while traveling along the trekking routes. There are
myriad be nests found in the inner and outer rings of different
trekking
areas which if professionally scientifically and technically managed,
provides an immense potentiality of promoting honey hunting as an add-
on
product.
This ancestral job of honey hunting still continues in many remote
villages of Nepal while offering high tourism potential.
Rath Nepal Tours and Travels organize this kind of Honey hunting Tour
With
part of Trekking. This is a camping Trek including Honey Hunting.Rath
Nepal Tours and Travels has well experience at Honey Hunters to do the
Job, you will enjoy the Trip. Come on our holiday and discover local
tradition and Goring culture in Nepal. Don't forget your camera!!
Trekking
in the foothills of the Annapurnas. See the spectacular honey hunting
on
the steep bee cliffs. Be welcomed by the Gurung people and learn about
their traditions and customs. These holidays give you the opportunity
to
sample traditions and culture. See them while you trek in the
foothills of
The Himalayas.
We have designed two itineraries with fixed departures dates to
provide
you an adventurous insight of the honey hunting in Nepal, please visit
.............
www.magical-nepal.com/nepal_honeyhunting.htm
Regards,
Rath Nepal Tours and Travels Pvt. Ltd
P.O Box 10691
2nd Floor, Mountain Plaza
Kantipath, Kathmandu, Nepal.
TEL: 977 1 4268948, 4258141, 4261512
FAX: 977 1 4264512
Email: rathnepal@gmail.com, sales@magical-nepal.com
Website: www.magical-nepal.com Tag: I found affordable health insurance. Tag: 545792
Are you ready for ultimate challenge?
Rath Nepal invites you for ultimate challenge during your vacation.
The Everest Marathon is a 30 days holiday in Nepal organised by Rath
Nepal
Tours and Travel Pvt.Ltd, combining sightseeing in the Kathmandu,
Chitwan
and a day River Raft in Trisuli River, a hard trek to the Everest
region,
an ascent of Kala Pattar for the best views of Everest, and one of the
most grueling races in the world.
The race starts at Gorak Shep (5184m), just below Everest base camp,
and
finishes in the Sherpa 'capital' of Namche Bazaar (3446m). The course
is a
measured 26.2 miles/42 km and, although it is basically downhill, the
trail undulates and there are two steep uphill sections. The race
starts
at 7 am and there are cut-off points at Tengboche monastery (14 miles
-
12.45 pm) and Chorkhung (20 miles - 2.45 pm), just above Namche
Bazaar.
The last 6 miles, out to Thamo and back, are on an exhausting
undulating
trail. It is essential to finish by nightfall at 6.00 pm.
If you are ready for this ultimate challenge visit......
http://www.magical-nepal.com/nepal_marathon.htm
Regards,
Rath Nepal Tours and Travels Pvt. Ltd
P.O Box 10691
2nd Floor, Mountain Plaza
Kantipath, Kathmandu, Nepal.
TEL: 977 1 4268948, 4258141, 4261512
FAX: 977 1 4264512
Email: rathnepal@gmail.com, sales@magical-nepal.com
Website: www.magical-nepal.com Tag: I found affordable health insurance. Tag: 545791
Queuing Up Threads - Thread Works Until Needing Resource From Other
Hello:
At work we have run into an interesting "need". We have a bunch of
customers whose calculations affect one another. Now, to this time, we
have never and we may never have a scenario where two customers affect
one another. So, right now, our system can handle A affecting B.
However, we may someday need to handle A affects B and B affects A. Of
course, neither need to be totally calculated for the other to run.
Ideally, it would be nice to have a list or queue of customers, each
calculating in a different thread. At some deterministic point in a
customer's calculation, we would check to see if they are affected. It
would be nice to tell the thread to simply STOP. We could simply place
the paused thread at the back of the queue. Whenever its turn came
around again, it would be "guarunteed" that it could progress, so we
just unpause it.
In the current system we have to do a long, slow SQL to order
customers. However, this ordering doesn't handle inner-dependencies. I
would like to try to replace the slow SQL with this method, gaining
the benefit of solving the inner-dependency issue at the same time.
The only negative of doing things this way is the memory sitting
around in the inactive, partially completed thread. However, due to
some refactoring, my code only generates a very small memory footprint
until later in the calculation. Also, the number of inner-dependencies
will be small, so that isn't an issue (today).
How can I achieve my goal? Is there a way of doing this without
identifying the affecting customer? I just want to keep it simple by
putting the paused thread after all other threads. if it's not that
simple, let me know.
Thanks,
Travis Tag: I found affordable health insurance. Tag: 545789
Windows Mobile - C# Express possible?
Windows Mobile - C# Express possible?
John Kennedy's blog [URL: http://blogs.msdn.com/johnkenn/ ] seemed to
hint that Windows Mobile software development was capable with C#
Express.
However, when viewing [URL: http://msdn2.microsoft.com/en-
us/library/bb158496.aspx ], it appears that only Visual Studio
Standard and above will work.
Being unfamiliar with compatibility issues, is it even possible with
Visual C# Express 2005+?
I would have just checked by installing, but my laptop is super old
and subsequently slow -- so it would have taken me hours and hours to
install (I figured it would install), and then run into errors (when
compiling or referencing assemblies).
Thanks for your time and patience!
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not. Tag: I found affordable health insurance. Tag: 545786
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WRJ Replica
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WRJ Replica,
Fake, Cheap, AAA Replica watch
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WRJ Link :
http://www.aaa-replica-watch.com/Rolex_Ladies_Watch_179174WRJ.html
Buy the cheapest Rolex Oyster Perpetual Lady Datejust Ladies Watch
179174-WRJ in toppest Replica . www.aaa-replica-watch.com helps you to
save money! Rolex-Ladies-Watch-179174WRJ , Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-WRJ , Replia , Cheap , Fake , imitation ,
Rolex Watches
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WRJ
Information :
Brand : Rolex Watches (http://www.aaa-replica-watch.com/
Replica_Rolex.html )
Gender : Ladies
Model : Rolex-Ladies-Watch-179174WRJ
Case Material : Stainless Steel
Case Diameter :
Dial Color : White
Bezel : 18kt White Gold
Movement : 31 Jewel Chronometer Automatic
Clasp : Stainless Steel
Water Resistant : 30m/100ft
Crystal : Synthetic Sapphire
Our Price : $ 183.00
Stainless steel case and bracelet. White dial. Date displays at 3
o'clock position. 18kt white gold bezel. Synthetic sapphire crystal.
Hidden deployment clasp. Case diameter 26mm. 31 jewel chronometer
automatic movement. Water resistant at 30 meters (100 feet).
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WRJ Replica,
With the mix of finest craftsmanship and contemporary styling, not
only does it reflect the time but also care you put into looking good.
choose one to promote your quality and make yourself impressive among
people
Thank you for choosing www.aaa-replica-watch.com as your reliable
dealer of quality waches including Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-WRJ . we guarantee every watch you
receive will be exact watch you ordered. Each watch sold enjoy one
year Warranty for free repair. Every order from aaa-replica-watches is
shipped via EMS, the customer is responsible for the shipping fee on
the first order, but since the second watch you buy from our site, the
shipping cost is free. Please note that If the total amount of payment
is over $600(USD), the customer is required to contact our customer
service before sending the money in case failed payment. If you have
any other questions please check our other pages or feel free to email
us by service@aaa-replica-watch.com.
The Same Rolex Watches Series :
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SDJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-MRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174MRJ.html
Rolex Oyster Perpetual Submariner Date Mens Watch 16613-BLSO :
http://www.aaa-replica.com/Rolex_Mens_Watch_16613BLSO.html
Rolex Oyster Perpetual Submariner Date Mens Watch 16613-GYDO :
http://www.aaa-replica.com/Rolex_Mens_Watch_16613GYDO.html
Rolex Oyster Perpetual Submariner Steel Mens Watch 14060M :
http://www.aaa-replica.com/Rolex_14060M.html
Rolex Oyster Perpetual Submariner Date 18kt Gold Mens Watch 16618B :
http://www.aaa-replica.com/Rolex_16618B.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-SRO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200SRO.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-SAO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200SAO.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-PRO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200PRO.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-BLSO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200BLSO.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-BLRO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200BLRO.html
Rolex Oyster Perpetual Datejust Mens Watch 116200-BKSO :
http://www.aaa-replica.com/Rolex_Mens_Watch_116200BKSO.html Tag: I found affordable health insurance. Tag: 545782
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WDJ Replica
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WDJ Replica,
Fake, Cheap, AAA Replica watch
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WDJ Link :
http://www.aaa-replica-watch.com/Rolex_Ladies_Watch_179174WDJ.html
Buy the cheapest Rolex Oyster Perpetual Lady Datejust Ladies Watch
179174-WDJ in toppest Replica . www.aaa-replica-watch.com helps you to
save money! Rolex-Ladies-Watch-179174WDJ , Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-WDJ , Replia , Cheap , Fake , imitation ,
Rolex Watches
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WDJ
Information :
Brand : Rolex Watches (http://www.aaa-replica-watch.com/
Replica_Rolex.html )
Gender : Ladies
Model : Rolex-Ladies-Watch-179174WDJ
Case Material : Stainless Steel
Case Diameter :
Dial Color : White With 10 Diamonds
Bezel : 18kt White Gold
Movement : 31 Jewel Chronometer Automatic
Clasp : Stainless Steel
Water Resistant : 30m/100ft
Crystal : Synthetic Sapphire
Our Price : $ 175.00
Stainless steel case and bracelet. White dial with 10 diamond hour
markers. Date displays at 3 o'clock position. 18kt white gold bezel.
Synthetic sapphire crystal. Hidden deployment clasp. Case diameter
26mm. 31 jewel chronometer automatic movement. Water resistant at 30
meters (100 feet).
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-WDJ Replica,
With the mix of finest craftsmanship and contemporary styling, not
only does it reflect the time but also care you put into looking good.
choose one to promote your quality and make yourself impressive among
people
Thank you for choosing www.aaa-replica-watch.com as your reliable
dealer of quality waches including Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-WDJ . we guarantee every watch you
receive will be exact watch you ordered. Each watch sold enjoy one
year Warranty for free repair. Every order from aaa-replica-watches is
shipped via EMS, the customer is responsible for the shipping fee on
the first order, but since the second watch you buy from our site, the
shipping cost is free. Please note that If the total amount of payment
is over $600(USD), the customer is required to contact our customer
service before sending the money in case failed payment. If you have
any other questions please check our other pages or feel free to email
us by service@aaa-replica-watch.com.
The Same Rolex Watches Series :
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SRJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-PSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174PSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-PDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174PDJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-MAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174MAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLDJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKSKRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKSBRJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKRJ.html Tag: I found affordable health insurance. Tag: 545781
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ Replica
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ Replica,
Fake, Cheap, AAA Replica watch
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ Link :
http://www.aaa-replica-watch.com/Rolex_Ladies_Watch_179174SSJ.html
Buy the cheapest Rolex Oyster Perpetual Lady Datejust Ladies Watch
179174-SSJ in toppest Replica . www.aaa-replica-watch.com helps you to
save money! Rolex-Ladies-Watch-179174SSJ , Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-SSJ , Replia , Cheap , Fake , imitation ,
Rolex Watches
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ
Information :
Brand : Rolex Watches (http://www.aaa-replica-watch.com/
Replica_Rolex.html )
Gender : Ladies
Model : Rolex-Ladies-Watch-179174SSJ
Case Material : Stainless Steel
Case Diameter :
Dial Color : Silver
Bezel : 18kt White Gold
Movement : 31 Jewel Chronometer Automatic
Clasp : Stainless Steel
Water Resistant : 30m/100ft
Crystal : Synthetic Sapphire
Our Price : $ 175.00
Stainless steel case and bracelet. Silver dial. Date displays at 3
o'clock position. 18kt white gold bezel. Synthetic sapphire crystal.
Hidden deployment clasp. Case diameter 26mm. 31 jewel chronometer
automatic movement. Water resistant at 30 meters (100 feet).
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SSJ Replica,
With the mix of finest craftsmanship and contemporary styling, not
only does it reflect the time but also care you put into looking good.
choose one to promote your quality and make yourself impressive among
people
Thank you for choosing www.aaa-replica-watch.com as your reliable
dealer of quality waches including Rolex Oyster Perpetual Lady
Datejust Ladies Watch 179174-SSJ . we guarantee every watch you
receive will be exact watch you ordered. Each watch sold enjoy one
year Warranty for free repair. Every order from aaa-replica-watches is
shipped via EMS, the customer is responsible for the shipping fee on
the first order, but since the second watch you buy from our site, the
shipping cost is free. Please note that If the total amount of payment
is over $600(USD), the customer is required to contact our customer
service before sending the money in case failed payment. If you have
any other questions please check our other pages or feel free to email
us by service@aaa-replica-watch.com.
The Same Rolex Watches Series :
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SRJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-SAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174SAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-PSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174PSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-PDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174PDJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-MAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174MAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLDJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BLAJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BLAJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKSJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKSJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKSKRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKSBRJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKRJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKRJ.html
Rolex Oyster Perpetual Lady Datejust Ladies Watch 179174-BKDJ :
http://www.aaa-replica.com/Rolex_Ladies_Watch_179174BKDJ.html Tag: I found affordable health insurance. Tag: 545780
Bulk UPDATE in LINQ for SQL
Is it possible to create following query in LINQ for SQL
UPDATE Employee SET Salary= Salary * 1.5 WHERE Employee.Job='Developer'
(Don't you like this query :-)?)
Thanks,
Shimon. Tag: I found affordable health insurance. Tag: 545779
What is the least impactful way (to the end user) to deploy a
Hi all,
I'm making an app that reads some text files on the user's computer,
puts them into a little database, and then least the user view/search
thru them. I've just realized that the sqlexpress db I created thru
server explorer is only gonna be on my dev box, and not the user's
(heh). So I need to write code that'll create a similar db on the
user's computer.
From the end user's standpoint, what's the easiest way to do this? As
much as possible, I'd like this to be completely transparent to the
user.
Thanks for any ideas! Tag: I found affordable health insurance. Tag: 545760
Show dialog in response to message
Disclaimer: I'm new at C# so please be gentle. :-)
I'm writing a simple card game where two players play against each
other through a middle hand they both connect to. In the client (the
player) I read messages from the middle hand in an asynchronous
fashion. I ran into a problem when I tried to implement the player
repsone to the play card message and I need your help.
When the player gets the play card message I want to display a simple
dialog box displaying the cards he or she has available for play.
However, during runtime I get an InvalidOperationException when I
attempt to show the dialog. The more precise error message is, and
here I translate to english: The action between threads is not valid.
The control collected/gathered from another thread than the one it was
created on. Is it because the control (the dialog) tries to use an
object, created by the "main" form, holding the players cards? How
should I solve this in a proper way?
Thanks for reading and thanks for any replies!
- Eric Tag: I found affordable health insurance. Tag: 545759
New usb drive created
Hi All
I am trying to capture when new USB disk has been inserted in c#
windows form. i tried using the ManagementEventWatcher but unable to
find a event when a usb device has deen installed and has a drive
letter associated with it.
I wonder if you guy could help me, this is what i am try to do:
When usb is inserted, a messagebox is displayed saying that would u
like to load the data (works fine but if the usb is inserted first
time it stuffs up, event occurs and no usb found dialog is displayed.
no usb found dialog is displayed because of the fact that windows
start installing drivers for it)
any help/suggestion would be appreciated
thanks alot
sunny Tag: I found affordable health insurance. Tag: 545757
using OPTIONAL third party assembly
I have a 3rd party tool I'd like my application (an ASP.NET/C# app) to
use, but I don't want it to be *required* by the app. At the same
time, I want to take advantage of Visual Studio's great .NET
programming environment... how do I set this up so that I can easily
use the objects from the 3rd party assembly, but not have the app blow
up when it's not present?
If I add a reference to the web app, I get a web.config assembly entry
for it. Not good, because then it has to be there or ASP.NET throws a
fit. If I don't add the reference, the compiler doesn't know anything
about the object and I can't write code against it.
The best we've come up with so far is to have a completely different
class library project/solution which contains the reference to the
assembly (and the code which uses it)... and then load that
dynamically in our app. This is a bit of a pain though and obfuscates
what is really going on... I'd like to get everything in one solution.
Seems like there ought to be some really simple solution to this... ? Tag: I found affordable health insurance. Tag: 545756
Dynamically calling a TableAdapter's Update method
Because there is no TableAdapter base class (The designer creates
TableAdapaters as classes which are derived from
global::System.ComponentModel.Component) I need a way to call the Update
method of a series of TableAdapters that are stored in a collection. The
problem is in order to store TableAdapters in a collection I had to cast
them as Components, but when I retrieve them, obviously they don't have an
update method because the Component class has no Update method:
foreach(Component tableAdapt in TableAdapterCollection)
{
tableAdapt.Update(...); <----- This can't happen because the items
stored in the collection are type of Components and can't cast them to
TableAdapters
}
I am really in need of a way to do this...even if it is "creative" :-)
Thanks!
Ron Tag: I found affordable health insurance. Tag: 545745
How can I determine if a Windows Driver is Digitally signed
Hey all.
I need to determine whether or not a Windows Driver is digitally
signed using a C# application. Can anyone point me in the right
direction for doing this? I know it has something to do with the .cat
file, but I'm not sure exactly what else I need to do.
TIA! Tag: I found affordable health insurance. Tag: 545735
This actually works.
I couldn't believe it. Screw programming anymore!
I'm totally serious. This actually works!
It is SO EASY to make money this way. Anyone, and I mean ANYONE can do
it.
You should start seeing returns within a day or two.
Do yourself a favour and at least check it out:
http://agentb.affstocks.hop.clickbank.net/ Tag: I found affordable health insurance. Tag: 545733