-
- Visual C# Orcas / Access DB / OleDB
by HaokaH
- 2 Replies
- Last post
by monurce
- I'm newbie. How to connecting with access web database I can connect access database in hard disc , but I can't connect the access on web.. Lower code not connected. OleDbConnection baglanti = new OleDbConnection(); baglanti.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=www.msdn.com/db/database.mdb"; baglanti.Open();
-
- problem with asynchonous callback C++\C#
by FERRAND
- 2 Replies
- Last post
by FERRAND
- Hello, My problem is the following : I have a DLL in C++ which I called for processing some operations, this DLL is asynchronous and warn me for the task ending by using a callback function. I'm passing a buffer (char* type) to the DLL, but to do it, I must use the "fixed" statement, but the buffer passed continue to be used until the callback is called. An error access memory oc
-
- How to connect two or more clients with Remoting Server ?
by ZINK_C
- 5 Replies
- Last post
by Lok_Tan
- Hi ,
I am using .NET remoting on IPC chanels , when I conect with client it works fine , but when one client is connected at a same time if i try to connect another client , 2nd client crashes ...
Is it possible that I would be able to connect two clients to Remoting server at same time
Can some one please guide me here
Thanks,
ZINK
-
- 0xE0434F4D Code on enter
by Idan Zipris
- 4 Replies
- Last post
by Idan Zipris
- Hi,
I have built an application in C#.
I'm using .NET Framework 3.0 on a virtual machine (Windows XP).
When I'm trying to run the program, I get the 0xE0434F4D error code, only in the virtual machine.
When I tried to run it on a normal machine (Windows XP), it runs well.
I'm using Windows Vista with .NET Framework 3.0 on my normal machine, and it runs well also here.
Thanks, Idan
-
- C# Sorted Lists
by
- 3 Replies
- Last post
by nobugz
- In a Sorted List; is it allow to have duplicate elements if NOT, how to implement a sorted list with duplicate elements. Are there any predefined data sturcture available in c#.
-
- Creating a New Access Database
by Pyromanci
- 4 Replies
- Last post
by Pyromanci
- Hello, I have a program i am making that is going to need to be able to store information in a database based on usr prefreances. I have already made the neassary code to create the defualt tables and such for MySQL, MSSQL, Excel, and Basic CVS Text Files, but i seem to having a issue making the Access database. I am using Microsoft.Office.Interop for the Excel and Access. Here is the code for th
-
- inserting data into sqlserverce
by distribution
- 2 Replies
- Last post
by distribution
- Hi i have this question on inserting data into SqlSErverCe using microsoft visual studio. i am creating this program using c# language, right now i have 5 textbox which i am required to enter roomnames, and some figures into the textbox and once the submit button is clicked. the information will be stored inside the database table i created in sqlSErver CE.
Any pointers
-
- Access is denied StartTime??
by kcdclan
- 8 Replies
- Last post
by kcdclan
- DateTime started = thisProc.StartTime;
It will not work with this process. it gets Access is denied in the ide debug
-
- How To get The system Info in C#
by AamirKhurshid
- 4 Replies
- Last post
by boban.s
- Hello All
How to get the hardware specification of the System...like(RAM,Processor,VGA,Hard Disk) That how much size of it ...For hard disk How much free space in it.. (C# code)
Regards,
Aamir
-
- C# Regular Expressions confusion
by Paradox22
- 5 Replies
- Last post
by Sergei Z
- Hi everyone, I'm writing a client for the Cyan Chat protocol (http://cho.cyan.com/chat) and all of the usernames are sent to the client as: X[username]|^1Text The X prefixing the username is a colour code. Currently I can print out what users say in my richTextBox, but I need a regular expression to find and locate all usernames between brackets. I have the code to colour the names, I just need a
-
- XML and IO exception
by Enes Kabacaoglu
- 5 Replies
- Last post
by Sergey Dubinets - MSFT
- Hi : i have been developing a smartphone 2003 application on VS2005. I want to save the user settings in an XML file. I have used the code below : Dim XMLDataset As DataSet XMLDataset = New DataSet() XMLDataset.ReadXml( "..\Storage\Program Files\ohmled-2\secenekler.xml" ) But when i run it i get an "IO exception" and thats all. The document is not open when i am running the code and the p
-
- creating Event Log - problems
by supergirl_gem
- 1 Replies
- Last post
by Alois
- I'm getting the following error:
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
i have looked at the forum thread below.
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=324053&SiteID=1
i have gone into my registry and edited the event log permissions - also when it's says
Note that for the "inaccessible" l
-
- How structers are efficient then classes.
by Trupti Somwanshi
- 2 Replies
- Last post
by Trupti Somwanshi
- Hi all ,
I am learning .Net. In the first chapter itself it is written that value types are stored on stack. If I declare both structures and class as variables (value types) then both are efficient as far as access to them in memory is considered.
It is written in the book that, structures are more efficient then class though both are stored on stack.
I just want to know
-
- .NET program in autostart
by JimGecko
- 6 Replies
- Last post
by Indian Ocean
- I've created a very simple "hello world" program with C# 2.0 (VS2005) and placed this program into the autostart folder. On startup the console window shows up, but it remains empty for several seconds. Only after about 5 seconds the "hello world" message appears in the console. I tested the program on a different computer (the hardware is pretty much the same) and the delay is
-
- System.Drawing.Imaging trouble
by LonelyPixel
- 14 Replies
- Last post
by Jason Pryor
- Hi,
where's the best place to ask a question about trouble with System.Drawing.Imaging I couldn't find any special forum for this.
-
- Null and SQL Server 2005
by fweeee
- 7 Replies
- Last post
by Robert Rossney
- This might be the wrong forum for this question, but I wasnt 100% which one it should be in.
Basically, I'm writing a VB.NET database application which hooks up to an SQL 2005 server. I'm having a problem with nulls - when I try to assign a value of a field which is null to field on a VB.NET form, I get the error "Conversion from type 'DBNull' to type 'String' is not valid."
-
- Query Regarding KeyContainer
by Zigzag
- 1 Replies
- Last post
by Brian Stern - MSFT
- Hello,
I read the article Store Asymmetric Keys in a Key Container from MSDN. However I have few queries.
1. Where is the key container stored. Are the keys stored in a machine registry of some sort
2. Is the key container available over time (say during an entire session in a web application)
3. Is the named key container available across application bounda
-
- The server committed a protocol violation. Section=ResponseHeader Detail='Content-Length' header value is invalid
by Erwin Venegas
- 7 Replies
- Last post
by sicnarf
- After upgrading an application from .Net 1.1 to .Net 2.0 we started having the above error for a particular network camera. The code in 1.1 works, but throws protocol violation error in 2.0.
The only solution I've found for this error is to set the useUnsafeHeader setting to true. I have tried this and actually implemented it through code and through a config file, but I still get the error
-
- Accessing the Start Menu user display name
by johnpaul76
- 5 Replies
- Last post
by johnpaul76
- Hi,
Is there a way to programmatically get the name that is displayed at the top of the start menu in windows xp I am not looking for the login username, but rather the displayed named. The computers do not log into a domain and there is not an active directory server.
Thanks John
-
- Structure or Class?
by JohnWein
- 14 Replies
- Last post
by JohnWein
- In most cases the same functionality can be implemented using a structure or a class. To me the class implementation seems cleaner and clearer. Is there an advantage to using a structure in some instances and a class in others
-
- System.Collections.ArrayList sorting improvements
by alamandra - MCP
- 2 Replies
- Last post
by alamandra - MCP
- Hi!
Short suggestion about this class. It's got several Sort methods implemented. But none of them expects System.Windows.Forms.SortOrder parameter, what would be great.
(PS.I know how to implement it.)
Cheers, Dawid Ireno.
-
- Can custom controls read from the settings of the current project?
by Verifex
- 1 Replies
- Last post
by Inbar Gazit - MSFT
- I have a custom control, and I wanted it to be able to read from the "Properties.Settings.Default" space of the current project to populate certain properties on the custom control itself. Long story short, I want to drag a control from the toolbox onto a form, and as soon as it instantiates itself populate certain fields with values from the "properties.settings" space. Is thi
-
- Move-MailBox error in Exchange 2007
by suraj bagad
- 6 Replies
- Last post
by suraj bagad
- Hi All,
I have implemented the move mailbox feature using the c# interop com component in Visual studio 2005 for Exchange 2007 server. The same functionality works perfectly with the Exchange Management Console and Powershell.
But iam getting an error as below:
Message :- [System.Management.Automation.CmdletInvocationException]{"Retrieving the COM class factory for co
-
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
by Erik11
- 14 Replies
- Last post
by Paul P Clement IV
- I just installed Visual Studio 2005 today and I'm already getting an error. This code worked fine on 2003. I am running Windows XP 64 so I definitely have the latest MDAC. Anyone know why I would get this error Dim strConnect As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & GetWorkingPath() & "db.mdb;Persist Security Info=False;" conn = New OleDbConnection(s
-
- C# .NET Open GPRS Connection
by DrAries77
- 2 Replies
- Last post
by DrAries77
- Dear All, could you help me to open GPRS connection with .NET I have a GSM/GPRS modem installed on my PC. Could you help me to write a piece of code in C# which is able to open and close a GPRS connection Thank you.