-
- <C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll
by Abhijeet Karle
- 14 Replies
- Last post
by Sean
- I am getting this error whenever i try to install MSN messenger .
<C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\ Bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll
I tried installing VBrun 6.0 for the latest version of advpack. dll , but still i am not able to install the messenger as it gives me the same error.
can anyone help
-
- <sharedListeners> requires UnmanagedCode permission?
by cchan&#64;marqui.com
- 2 Replies
- Last post
by FishDawg
- We are currently working hard to tighten up our hosting ASP.NET environment. According to Microsoft security recommendation, we are targeting to bring the trust level to at least 'Medium'. However once I made that setting changes we encounter the following security error during application startup.
[SecurityException: Request for the permission of type 'System.Security.Permissi
-
- Missing : System.DirectoryServices.ActiveDirectory Namespace
by ubsman
- 3 Replies
- Last post
by Caddre
- http://msdn2.microsoft.com/en-us/library/system.directoryservices.activedirectory(vs.80).aspx
From the looks of the article I should be able to use this but I cannot add any reference to
System.DirectoryServices
Is it not included with the Visual Studio 2005 professional version, or is it something that I have to download separately
-
- Using DataContractSerializer on the ISerializable objects.
by Vic76
- 2 Replies
- Last post
by Vic76
- While trying to use DataContractSerializer to serialize an object that implements ISerializable I noticed strange behavior. Here is my example (purely theoretical):
- The object I would like to serialize:
<Serializable()> Public Class test
Implements System.Runtime.Serialization.ISerializable
Private s() As String
Private ss As List( Of String )
Publi
-
- passing values
by RodFerns
- 2 Replies
- Last post
by nobugz
- can some one tell me how to pass values between 2 c++ programs
-
- Tables of a database
by BuliVlora
- 1 Replies
- Last post
by Paul P Clement IV
- I'm using this connection to an Access database:
Dim connString As String
connString = "Provider=Microsoft.JET.OLEDB.4.0;data source=C:\Documents and Settings\Acer\Desktop\Db-Regione.mdb"
How can I list all the tables of that database (for example in a combobox)
-
- FileLogTraceListener class - implementation ?
by Kunal Sharma
- 11 Replies
- Last post
by Stephen Gryphon
- Hi friends,
Anybody tried using the FileLogTraceListener class for data logging to text files
I've been reading this and getting more confused. If any noble, generous soul can explain it to me or better still share the code snippets to make it work I would be highly obliged.
Thanks, Kunal
-
- Marshalling an IntPtr to a structure array
by elsa
- 4 Replies
- Last post
by elsa
- Hi,
I have an variable-length array in an struct. I changed it to IntPtr and use Marshal class to retrive the struct array. But I always get "AccessViolationException" error! structures>>
<StructLayout(LayoutKind.Sequential)> _ Public Structure WLAN_PROFILE_INFO <MarshalAs(UnmanagedType.ByValArray, SizeConst:=256, arraySubType:=UnmanagedType.U2)>
-
- Predicate is slow....
by Jason Callas
- 3 Replies
- Last post
by KinghweiLiu
- I need to maintain a list of Paths and its id that was assigned by my database. At first I put them into a DataTable object with just the two columns. I am looking to improve performance so I thought about creating Path objects and putting them in a List(Of Path) generic object.
Since I sometimes need to look up by Path and sometimes by Id I took a look at the Find method along with Predica
-
- dynamic tableAdapter generation
by ellison8
- 2 Replies
- Last post
by cverdon
- I am building a maintenence gui for one of our operational databases. As there are a lot (well over 100) of tables I would like to dynamically generate my tableAdapters and queries (from a table name) instead of having to create a different tableAdapter for each table. Has anyone found a good way to do this
-
- insert query error
by KHodam
- 5 Replies
- Last post
by VMazur
- Hi,
I wrote an insert query in TableAdapter and it gave me this error ¡°Failed to get schema for this query¡±. The query that I wrote was this
INSERT INTO STUDENT
(S_ID, S_NAME, S_DOB, S_ADDRESS)
VALUES (@Param1,@Param2,@Param3,@Param4)
So how can I solve the error Thank you
-
- [MsftFollowup] Vista framework version incompatible with XP version
by nobugz
- 14 Replies
- Last post
by Juan T. Llibre
- While researching two questions recently, it came to my attention that the .NET 3.0 version of the framework as installed on Vista is not the same as the one I installed on my laptop running XP SP2. On Vista, the setup utility overwrites all the V2.0 assemblies and upgrades them from version 2.0.50727.42 to 2.0.50727.312. I looked at the differences between the 42 and the 312 revisions of mscorl
-
- ContentControl Index
by neoMike
- 0 Replies
- Last post
by neoMike
- VBA:
Is there another way to reference a content control besides the index
[ActiveDocument.ContentControls(1)]
Such as referencing the title or something
If not, how do you set the index or find the index of a specified control
thanks
-
- Need some help with forms and connections
by kevdmiller5150
- 3 Replies
- Last post
by cverdon
- I have made a form with a datagridview of empinfo and I have put four buttons on it, HealthInfo, TrainingInfo, etc. and I want to be able to highlght an employee name in the gridview and open another window with the requested info in textboxs or listboxes, for example I want them to display the Health information table of the database.
What kind of code do I need I am using Visual Studio.
if
-
- uniqueness of GetHashCode
by bitbonk
- 4 Replies
- Last post
by nobugz
- If I understand the docs correctly the Hashcodes returned by GetHashCode of two given objects have to be the same if they are equal (i.e. .Equals and .Operator== return true). However if the two objects are not equal (i.e. .Equals and .Operator== return false). the Hashcodes don't necessarily have to be different.
In other words: based on GetHashCode you can only find out if two
-
- Get page sourcecode
by zeroonnet
- 2 Replies
- Last post
by Chunsheng Tang - MSFT
- Hello, how do i download a sourcecode of a page and write it in a file on my computer using C#. Please help me Thank you xD
-
- ICollection accessing particular item without enumerating
by Kamii47
- 8 Replies
- Last post
by nobugz
- I am getting a Icollection object. Now I want's to access particular item in the collection let say First ,second or Third that is item at the index 1 or 2 or three how can i do that. I will pass a parameter let say itemNumber in the method. Can I do that
-
- INSERT INTO syntax error?
by cmazur
- 4 Replies
- Last post
by cmazur
- Hey all,
I'm trying to insert a new row into my database manually, however this isn't goin' quite well. I am using Microsoft Access as my database. The table I am trying to enter a new record in is called 'tbl_hours' and the fields of this table are employee( string ), in( date/time ), out( date/time ), hours( double ).
I've tried so many different things, but can't seem to figure out my syn
-
- calendar and datediff
by needhelp1111
- 1 Replies
- Last post
by timvw
- i want to check if the date selected is before the today date. if yes, i wish to return a message in the label. if (Convert.ToDateTime(Calendar1.SelectedDate.Date) = (Convert.ToDateTime(Calendar1.SelectedDate.Date))) { Label1.Text += "Select date after or today date"; }
another prob is my datediff don't seem to work. anyway MPAnnouncement.date_posted is a column name in my annoncem
-
- String to float conversion
by Ivo Leit&#227;o
- 9 Replies
- Last post
by nobugz
- Hi! I'm having a big problem with the conversion of string to float's. I'm currently reading a textfile with floats in the range 0 to 0.1. the problem is that when i read for example 0.1 i always get 0.100000001 no matter what i use. I have tried everything, float.parse, Convert.ToSingle, NumberFormats...
It's very importante to get the exact number because this is for a graphics applicati
-
- urgent please help
by mona11
- 2 Replies
- Last post
by -Anton Lapounov
- i want to do 5 level nesting in sitemapnode. But it is showing only 4 level of nesting.My code in web.s.temap is < xml version="1.0" encoding="utf-8" > <siteMap xmlns=" http://schemas.microsoft.com/Asp Net/SiteMap-File-1.0 "> <siteMapNode title="" url="" description="foo" roles="*" > <siteMapNode title="Products" url="" description="Products" roles="
-
- How to respresent B.C. date
by Jan Ku&#269;era
- 10 Replies
- Last post
by Jan Ku?era
- Hi all,
"This implementation of the GregorianCalendar class recognizes only the current era (A.D. or C.E.)." is written in the MSDN documentation.
How can I store/represent date in B.C. or B.C.E. era
Are there also unsupported eras in other Calendars
Thanks, Jan
-
- Searching for a byte sequence in a byte array ?
by aghoneim
- 4 Replies
- Last post
by aghoneim
- Hello,
Is there a way to look for a byte sequence in a byte array/list/vector, other than implementing a predicate for a "Find". Maybe something like the Java's ByteVector indexOf (byte[] b)
and also without using the J# runtime :)
thanks
aghoneim
-
- Socket or Remoting in this scenario?
by xpding
- 7 Replies
- Last post
by xpding
- I am investigating how to build a cache server which can be access by multiple web apps in a web farm. However, I am not sure should I use socket or remoting to handle the cached data transprotation in the network. The scenario is: The cache system maintain a list of cached objects. Clients (web applications) will send a key to the cache server and the cache server will send the cached data back i
-
- COM Event Interoperability fails on references
by VitalyTomilov
- 4 Replies
- Last post
by VitalyTomilov
- Abstract
When a COM event handler is attached in .NET via an internal interface, such reference falls into garbage along with the event handling.
Details
Let¡¯s consider C# syntax here. In a simple scenario, you bind a C# event handler to a COM event using syntax MyInerfaceVariable.EventName += New MyEventHandler . This seems to do the job fine, handling the incoming COM