|
I am currently writing a database (Windows based) that uses this same technique... I have written a Windows service (middle tier) to "talk" to the database from the gui and all seems to be well (I am only using the free MSDE)
I have had roughly 4 concurrent connections thus far without an issue, will let you know if i run into problems
|
|
|
|
|
fmardani wrote: does this mean that we only require one license for all the users to connect to sql server?
I think so.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
hello everybody in this forum.
I would like first to thank everybody here contributed in solving C3 developers' programmers.
Second.
I need to access the voice directly fom microfone and encode it . This captured voice i will transmit to over the network any help on that.
I saw full -duplex audio player in C# by ianier but really his code is complicated somewhat . I need more simple steps using the Wavein/WaveOut Api(s) or even using directSound.
Thanks Folks
Mess With The Best And Die Like The Rest
|
|
|
|
|
First off, i am not sure this is the right forum, but i plan to program in this in c#, so here goes!
I am wanting to create a small PPC app to control windows media player, mainly volume, pause/play, previous, next and mute buttons. There are apps out there which run windows media player 'servers' with wmp controls embedded into the server, but that's not what i need.
Basically i am uber lazy, i want to be able to stop the music b4 i go to bed, or stop a movie if i have been watching it from my bed. Ultimately i would also like to be able to put my laptop in suspend mode also, but thats not as difficult
Anyhow, i have searched around a bit to no avail and was wondering if anyone else has had and similar ideas, and if they had any luck controlling wmp. (i assume it would be a plugin... but again, dont know if its even possible!)
REgards,
- Martyn
|
|
|
|
|
Hello,
I am currently considering migrating various projects from 1.1 to 2.0 but before doing this I would like to see a list of all changes, enhancements, bug fixes, new bugs etc etc that are in 2.0. Looking through MSDN and other Microsoft sites I can seem to find anything that covers it all.
Does anybody know if such a list exists?
|
|
|
|
|
http://www.gotdotnet.com/team/changeinfo/default.aspx
Especially this zip file: http://www.gotdotnet.com/team/changeinfo/Beta1ObsData.zip
It covers the beta1 of the .NET 2.0 framework, but the list is (almost) complete.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
I am relatively new to C#. I have to make some kind of "search database" aplication. I have to make aplication with search field that can search specific text in some document. Can someone please help me?
|
|
|
|
|
I want to get working on Windows Presentation Foundation, but I can't find an SDK download for the full release version of VS2005 ? Is there such a beast ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I thought they (Microsoft) renamed WPF back to DirectX10 and WinFX respectively, or am I confusing something here?
Maybe it was WGF = DirectX10 and WPF = WinFX or something like that...
-- modified at 16:23 Sunday 29th January, 2006
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
Thanks - I'd actually downloaded a prior versoin of this ( i.e. a different build number ). It looks to me like they don't havE IDE support for the full version yet, then. I'll have to do it all by hand, if at all.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Thanks - Cider was the keyword I needed to find all the downloads I need. Thanks a ton.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I'm hoping someone can help me with a problem I'm having with an app that reads in an Excel spreadsheet. For each worksheet in the spreadsheet I want to create a DataTable that has the same name as the Excel worksheet. My code currently looks like this:
foreach (Microsoft.Office.Interop.Excel.Worksheet ws in wrkBook.Worksheets)<br />
{<br />
<br />
if (ws.Name != null)<br />
{<br />
this.lstSheets.Items.Add(ws.Name);<br />
strWorksheet = ws.Name.ToString();<br />
System.Data.DataTable ws.Name = new System.Data.DataTable();<br />
}<br />
}<br />
This doesn't work as it thinks I'm trying to reassign an existing object, rather than create a new object with the name of an existing object's property.
Can anyone explain how I can create as many datatables as exists in the spreadsheet file I open, and programmatically give each DataTable the same name as the worksheet from the spreadsheet?
Any assistance would be gratefully recieved!
|
|
|
|
|
You can't. There are no dynamic filenames in C#.
Put the datatables in a collection, like a HashTable.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa, thanks for your response. I'm new to C# and I've not used HashTables before, could I just clarify how this would work in my example?
From looking at what I can find on HashTables, would my code look like this?
<br />
System.Collections.Hashtable h = new Hashtable();<br />
foreach (Microsoft.Office.Interop.Excel.Worksheet ws in wrkBook.Worksheets)<br />
{<br />
<br />
if (ws.Name != null)<br />
{<br />
this.lstSheets.Items.Add(ws.Name);<br />
strWorksheet = ws.Name.ToString();<br />
h.Add(strWorksheet, ws);<br />
}<br />
}<br />
For anyone else reading this post looking for further information, I found a short tutorial on HashTables here:
http://abstractvb.com/code.asp?A=1026
|
|
|
|
|
Now you are putting the work sheets in the hash table. Didn't you say that you wanted to create data tables?
---
b { font-weight: normal; }
|
|
|
|
|
Guffa,
You are correct. I am an idiot. I have fixed that small oversight, and am hopeful it will be plain(ish) sailing from here on in. Thanks very much for your help!
|
|
|
|
|
Yeah, that would work unless the worksheets have the same names - Hashtables do not allow duplicate keys. But you might also use a simple List<Worksheet>
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Question people.
I can easily update my database from my dataset using the oledbadapter.Update method perfectly fine.
But this only is good for select,add, delete, and modify commands on records in the dataset (database)
What i need to do is update the database from my dataset when adding new columns to the dataset.
When i use the oledbadapter's Update method it does not reflect the changes in my access database the newly created columns in the dataset.
Can someone let me know what to do
Thanks in advance
using C#
|
|
|
|
|
Hi,
well the topic says everything: I have a form and I don't want it to be able to get focus. How can I achieve that? I'm using visual c# 2005 express edition, so I could make use of .net 2.0.
Thanks
|
|
|
|
|
You could set focus to the desktop window in your form's handler for the "focus received" event.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
I'm in a computer programming class at the college I'm attending and I'm having a very difficult time with the program we were assigned. The assignment is this:
Ask the user to enter a single interger. If it is 0 or less display the number 1 as a result. Otherwise, display the result of multiplying all the numbers between 1 and the number the user entered. (Yes, the factorial of the number) If the user enters 5 then the answer to display is 120. That is the result of 1*2*3*4*5. You need to use a "for" loop
If anyone can help me with this, please post code for me. I've struggled with this since last Tuesday and it is due this coming Tuesday. Thanks.
-- modified at 13:58 Sunday 29th January, 2006
|
|
|
|
|
Holly21 wrote: please post code for me
No way. That's not how this works. YOU write the code! We help you with YOUR code, not ours. If we justposted the code for you, you wouldn't learn anything and you'd be screwed over even more on the next assignment.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|