|
Hello,
Anyone can help on giving some sources or examples? I need to develope a small web based reminder system using C# but I could not find any references..
Any good sites?
Thanks a lot~~;)
|
|
|
|
|
You're going to have to explain, in more detail, what you mean by a "web-based reminder system". How do you want the user to be notified of the reminder?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hello,
Actually the system will consist of a small scheduling system which mean that it will remind the login user if there is a meeting on certain date or a due date is reaching..i just need a simple pop up reminder with sounds. (like alarm clock..)
thanks.
|
|
|
|
|
All fine and good, but still, what do you mean by "Web based"?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i mean that this system is not window based, internet based.
|
|
|
|
|
No kidding!
That's also no description of how you want these people notified! Since your server can't contact the client machines without a server running on them, I don't see how you're going to remind them of anything!
Now, do you want to explain how you were really thinking of doing this?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sorry please help..
I wanna delete the whole row where either 1 of the 2 columns have the number i keyed.
This is my code:
sql = "DELETE FROM Quiz WHERE [PID]=" + idStr + " AND [id]=" + idStr;
Can tell me where i goes wrong??
fire85.
|
|
|
|
|
When you want to delete if at least one column has a matching value, you have to use OR, not AND. Simple boolean logic.
Your request only deletes when both columns have the same value.
x OR y true false
true true true
false true false
x AND y true false
true true false
false false false Regards,
mav
|
|
|
|
|
Oh ya -.-"
Thanks Alots mav
fire85.
|
|
|
|
|
Hi All,
Can someone please see if they can help me in my problem or point me in the right direction.
I'm trying to make a phone call using TAPI 3 and C#. I have managed to make the call, but when it's connected, I can hear the other party clearly, but they cannot hear me. My microphone and earphones are plugged into the modem's jacks. The modem is installed as an Intel(R) 536EP Modem and there is a Unimodem Full-Duplex Audio device installed as well.
The end goal of this project is to be able to record the conversation that takes place and store it as a wave file on the hard drive.
As a side note: One thing I could manage to do was to use the dialer.exe utility with WindowsXP to make the call. If I then plugged the microphone into the sound card and the earphones into the modem, I managed to have a conversation both ways. I'm not sure if this info would help at all but I thought I'd include it.
Regards and Thanks,
|
|
|
|
|
Although I don't know about TAPI, one general point comes to mind:
Did you try connecting the microphone to the soundcard and see if your program works then?
Regards,
mav
|
|
|
|
|
Yes, I have tried that. Although that works when I use dialer.exe (with WinXP), it doesn't work when I use my application to dial with.
Thanks for the response anyway.
|
|
|
|
|
how would i go about creating an editable menu like the way you create menu/s in .NET IDE ?
want to have a small app where user can modify menu on a per user basis. was just going to have a form where they selected the parent menu, the action and the menuitem text but thought i may give this a try
kind regards,
g00fy
|
|
|
|
|
Hi!
I'm looking for information about secure remoting. I hope someone out there could help me with some good links to such information.
Thank you!
|
|
|
|
|
Our trusty friend Google: clickety
Especially the first hit.
|
|
|
|
|
couple of days ago I came across an article on CP about the open source Lucene search engine ported to c#. I was impressed with the article and I wondered how many people are using Lucene in their application ? How powerful is it compared to commercial search engines such ISYS etc.
I would be most interested in reading other folks experiences with Lucene
cheers
|
|
|
|
|
I use the Rectangle to hold up the Dimension of area...
But i can't access the Left, Right,Top,Bottom properties in it...
It Says, that they are read-only...
Where the problem?
Point p = (Point)(m_Points[0]);<br />
Dimension.Left = Dimension.Right = p.X;<br />
Dimension.Top = Dimension.Bottom = p.Y;
|
|
|
|
|
There is no problem. If the compiler tells you the properties are read-only, then it's probably right.
Modifying the corners of a Rectangle can be achieved by modifying its Size and Location properties.
Regards,
mav
|
|
|
|
|
can ne1 tell me ho i'm going to do this...in an
MDI Interface, by selecting an item from the menu twice , it will mean that the system will open two instances of the item (its a form for enterin details). Even i should be able to swap between these forms at root level using the ALT TAB key. Also, i should not be able to open multiple child forms under a main form. If a main form is closed then all the child forms should also be closed...
how can i implement such thing in my code???...ne help will be appreciated...
|
|
|
|
|
1)If you don't want to show same form more than once, then try to check the instance of required form before showing.
eg:
private ChildFrm1 insChildFrm1;<br />
<br />
private void Open_Frm_Click(object sender, System.EventArgs e)<br />
{<br />
if(insChildFrm1!=null)<br />
insChildFrm1.Activate();<br />
else<br />
{<br />
insChildFrm1=new ChildFrm1();<br />
insChildFrm1.Show();<br />
}<br />
}
the above functionality can also be achived through Singleton implimentation of your child form class.
2) Insted of Show() use ShowDialog() of form class to make only one form active.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
What object has the behavior like a vector of STL?
I'd like to access the objects like this:
a[3], a[4], and i'd like to have a dinamic array, that can grow up...
|
|
|
|
|
ArrayList
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I'm new to programming and I can't find a sample of OleDb Transactions that can rollback BOTH ExecuteNonQuery() and myDataAdapter.Update all in one try/catch statement.
I found this link that shows the ExecuteNonQuery...
http://msdn2.microsoft.com/library/h8459s0c(en-us,vs.80).aspx
Is it possible to have both ExecuteNonQuery and DataAdapter.Update in the same rollback transaction?
thanks,
Ron
|
|
|
|
|
Hello,
We are trying to marshal a simple C structure within our C# code. All values are coming across except for doubles (bolded below). A double comes across as junk. Any help you can provide would be appreciated.
Here is our C structure:
<br />
struct other_earn {<br />
short o_id;<br />
char o_desc[12];<br />
char o_tpind[2];<br />
char o_payee[31];<br />
char o_addr1[31];<br />
char o_addr2[31];<br />
char o_addr3[31];<br />
char o_hours[2];<br />
double o_amt1;<br />
short o_dept;<br />
char o_txficas[2];<br />
char o_txficam[2];<br />
char o_txfit[2];<br />
char o_txfuta[2];<br />
char o_txsit[2];<br />
char o_txsuta[2];<br />
char o_txloc[2];<br />
short o_mdt;<br />
char o_wcexempt[2];<br />
}<br />
And here is how we marshal the struct. Note that all fields except the double are marshalled without issue. We have the same problem with all our other structs:
<br />
[StructLayout(LayoutKind.Sequential)]<br />
public struct ROtherEarn<br />
{<br />
public Int16 o_id;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]<br />
public String o_desc;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_tpind;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]<br />
public String o_payee;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]<br />
public String o_addr1;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]<br />
public String o_addr2;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]<br />
public String o_addr3;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_hours;<br />
public Double o_amt1;<br />
public Int16 o_dept;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txficas;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txficam;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txfit;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txfuta;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txsit;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txsuta;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_txloc;<br />
public Int16 o_mdt;<br />
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]<br />
public String o_wcexempt;<br />
}<br />
Thanks,
Josh Lindenmuth
|
|
|
|
|
What do you mean it's not being marshaled correctly?
As in it won't compile?
As in when you try to use the structure it behaves unexpectedly?
Did you try using the MasrhalAs(UnmanagedType.R4) or MarshalAs(UnmanagedType.R8) properties? As I recall, a C double is smaller than a C# double or something to that effect. (The reason I think this is because for some reason I think that a C long is actually 4 bytes while a C# long is 8 bytes)
So try adding a MarshalAs(UnmanagedType.R4) to your Double. (R4 and R8 marshal floating-point numbers, I2, I4, and I8 marshal integers)
|
|
|
|