|
jitAtran wrote: Thats why i am considering mySQL or interbase
You should use FireBird. The DataBase is OpeSource and you can use it in your programm for free. There is also a managed provider for FireBird here:
http://firebird.sourceforge.net/index.php?op=files&id=netprovider
And with the MultiGenerationArchictecture of FireBird, there is no locking
I love FireBird
|
|
|
|
|
Can u compare mySql and firebird.Since mySql is being used widely ,many friends of mine suggesting it.(Even they havent heard about Firbird).
And also mySql seems to be very fast.but does not have features like stored procedure,trigger ets.
is firebird being used for commercial application.Is it released fully or any beta version.
Expecting a reply..
|
|
|
|
|
Hi,
jitAtran wrote: Can u compare mySql and firebird.Since mySql is being used widely ,many friends of mine suggesting it.(Even they havent heard about Firbird).
FireBird is an OpenSource project based on den OpenSource-Code of Borland Interbase 6.0. Because of this, FireBird is mostly used by devolopers of Borland Delphi and C++ Builder.
jitAtran wrote: And also mySql seems to be very fast.but does not have features like stored procedure,trigger ets.
In my opinion FireBird ist faster because of the features that MySQL doesn't have like StoredProcedures, triggers etc. And FireBird supports transactions. This is a must have feature today and MySQL only supports transactions with InnoDB.
jitAtran wrote: is firebird being used for commercial application.
As I said, a lot of Borland Developers use it in commercial applications.
jitAtran wrote: Is it released fully or any beta version.
FireBird 1.5 is the latest stable release of FireBird. You can downlaod it here:
http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_download
FireBird 2.0 is still in development (alpha) and will have more enhancements.
For more information visit IBPhoenix: http://www.ibphoenix.com/
André
|
|
|
|
|
Hi all!
Could anybody give me an example of following:
1) Main program in C# that calls function Foo(Handle_of_My_Form) declared in my dll.
2) Dll in C++ with implementation of Foo that just calls PostMessage(Handle_of_My_Form, WM_USER, 0, 0).
3) Finally, main program catches this messages and show MessageBox "All right! I've caught it!".
Please, help - I need to do this task as soon as possible.
--
Sincerely,
Dmitri
|
|
|
|
|
Is the DLL implementation using managed or unmanaged C++?
Rob Philpott
|
|
|
|
|
I'm sorry but what is the difference?
|
|
|
|
|
Can anyone please tell me how to add a right-click menu to a tree view control?
Any help is appreciated.
Thanks!
|
|
|
|
|
Hello
You need to use ContectMenu property of TreeView .
With best regards,
Andrew Kirillov, MCP x 3
Prize winner, August 2005
|
|
|
|
|
Hi,
Thanks for your reply. But in spite of setting the contextMenu for the tree view control, I am not able to see the menu upon right-click.
Sorry if my question is silly. I still do not understand how to associate this Menu to the right-click of the tree view item.
|
|
|
|
|
How to convert an uint32 integer to a byte[4]?
Moreover, put the byte[4] into a byte[] buffer.
Thanks!
|
|
|
|
|
Hello
You can try the next code:
uint i = 0xABCDEF12;
byte[] bytes = new byte[4]
{
(byte) (i & 0xFF),
(byte) ((i >> 8) & 0xFF),
(byte) ((i >> 16) & 0xFF),
(byte) (i >> 24)
};
With best regards,
Andrew Kirillov, MCP x 3
Prize winner, August 2005
|
|
|
|
|
|
I would like to write custom stringconverter for my own class so propertygrid can display correct string representation of the object.
but how to override method to convert string back to the object?
I wonder how microsoft does it with bitmaps or collections. Collection object is converted into the string as "(Collection)". but how this string is converter back to the actual collection? does anyone know what's the trick here?
thank you
luke
|
|
|
|
|
|
Hi,
When the treeView control's nodes are right-clicked,
the selectedNode of the treeView won't be changed unless
it is a left-click mouse event.
My problem is that I associated context menu to the tree
nodes, so user just right click the node to use the context
menu, however the selectedNode isn't the node that the context menu
is launched.
So how can I set the selectedNode to the node that is right-clicked ?
Thanks
|
|
|
|
|
Subscribe to the MouseDown event of the TreeView and do this
if (e.Button == MouseButtons.Right)
{
Point point = new Point(e.X, e.Y);
TreeNode node = treeView.GetNodeAt(point);
if (node == null)
return;
treeView.SelectedNode = node;
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi,
I can't copy and paste plain from other sources into the RichTextBox control in C# application, but the TextBox control can, why ??
And is it possible to directly copy the stuff (e.g. image, text, table) from MSWord 2003 to the RichTextBox control ?
Thanks
|
|
|
|
|
You can only copy Text from Word. You can't copy tables or images because Word objects are not support by the RTB.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi!!
I'm currently a student who is doing my final year project but somehow i was new to the software i'm using which is C# and had few problems. Firstly, i have design a user log in Web Application. I have created a UserID and Password on the web application and a login button. I need to check from the database whether i have key in correctly ant.. What should i do or use to know whether i have key in correctly. I have try to use the try{} catch{} and other methods but it seem that it is wrong.. Anyone who have done this kind of project, care to share with me ?? Thankz... =)
HappY Day =p
Cheese_kid =p
|
|
|
|
|
Maybe you know Excel 2003 enables you to set xml maps using menu command.You can select route,data/xml/xml source….,then the xml souce panel window will be displayed in the right screen.And you set xml maps by using click the xml maps button. So the problem is I want to use csharp code instead of this UI produce.
I try to find a event or a funcation in the Excel SDK. But I complete loss of hope, however the problem is very necessary and important.Can help me how to coding? Thank you very much!!
|
|
|
|
|
Here is an byte[] array.
I want to convert it to a stream , in order to use the Binary.Reader class.
Thanks!
|
|
|
|
|
Use the System.IO.MemoryStream class. You can create an instance of this stream with a byte[] array. Pass this instance to the BinaryReader class.
Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
|
|
|
|
|
Hey all! I need to learn about I/O with a pocket pc. Anyone have any good links that they could direct me to?
In either Vs 2003 or Vs 2005.
I will be one of the most sought after software developers!
www.neumont.edu
-- modified at 15:55 Tuesday 18th October, 2005
|
|
|
|
|
hi
I am creating an automated browser using axwebbrowsr control. When i make a visit to a page it shows a username password dialog box. Here, how can i fill that one.
And also i need to click a javascript menu to goto next page. Let me know is it possible. This page contains frames.
thank you.
rajesh
|
|
|
|
|
I have this set of code which is suppose to take a dataset, transfer it to a server via a web service, and then populate a databse with the information that is in the dataset however, I have an error where there appears to be no data in the dataset once it gets to the webservice, the data seems to be fine when it leaves the program, but is lost by the time it gets to the server.
userinfo is the WebService
here is the code for the program:
private void button2_Click(object sender, System.EventArgs e)<br />
{<br />
try <br />
{<br />
dg1.Tables[0].Rows[0]["COMPANYNAME"]=txtCompany.Text;<br />
dg1.Tables[0].Rows[0]["FAX"]=txtFax.Text;<br />
dg1.Tables[0].Rows[0]["PHONE"]=txtTelephone.Text;<br />
dg1.Tables[0].Rows[0]["POSTALCODE"]=txtZipcode.Text;<br />
dg1.Tables[0].Rows[0]["COUNTRY"]=txtCountry.Text;<br />
dg1.Tables[0].Rows[0]["STATEPROVINCE"]=txtState.Text;<br />
dg1.Tables[0].Rows[0]["CITY"]=txtCity.Text;<br />
dg1.Tables[0].Rows[0]["ADDRESS2"]=txtAddr2.Text;<br />
dg1.Tables[0].Rows[0]["ADDRESS1"]=txtAddr.Text;<br />
dg1.Tables[0].Rows[0]["Title"]=txtTitle.Text;<br />
dg1.Tables[0].Rows[0]["NAME"]=txtName.Text;<br />
dg1.AcceptChanges();<br />
MessageBox.Show(userinfo.SetUserInfo("uberducks2", dg1, UserID.GetValue("UID").ToString()));<br />
cmdApply.Enabled=false;<br />
}<br />
catch (Exception d)<br />
{<br />
MessageBox.Show(string.Format("Error During Runtime: {0}", d.Message));<br />
}<br />
}
This is the WebService Code:
public string SetUserInfo(string AuthID, DataSet dg1, string UserID) <br />
{<br />
if (AuthID=="*****") <br />
{<br />
try <br />
{<br />
string Name=dg1.Tables[0].Rows[0]["NAME"].ToString();<br />
string Title=dg1.Tables[0].Rows[0]["TITLE"].ToString();<br />
string Addr=dg1.Tables[0].Rows[0]["ADDRESS1"].ToString();<br />
string Addr2=dg1.Tables[0].Rows[0]["ADDRESS2"].ToString();<br />
string City=dg1.Tables[0].Rows[0]["CITY"].ToString();<br />
string State=dg1.Tables[0].Rows[0]["STATEPROVINCE"].ToString();<br />
string Country=dg1.Tables[0].Rows[0]["COUNTRY"].ToString();<br />
string Zipcode=dg1.Tables[0].Rows[0]["POSTALCODE"].ToString();<br />
string Telephone=dg1.Tables[0].Rows[0]["PHONE"].ToString();<br />
string Fax=dg1.Tables[0].Rows[0]["FAX"].ToString();<br />
Oconn.Open();<br />
string sqlcmd="UPDATE ACCOUNTUSER SET COMPANYNAME = '"+Company+"', NAME = '"+Name+"', TITLE= '"+Title+"', ADDRESS1='"+Addr+"', ADDRESS2='"+Addr2+"', CITY='"+City+"', STATEPROVINCE='"+State+"', COUNTRY='"+Country+"', POSTALCODE='"+Zipcode+"', TELEPHONE='"+Telephone+"', FAX='"+Fax+"' WHERE USERID='"+UserID+"';";<br />
SqlCommand brb=new SqlCommand(sqlcmd, Oconn);<br />
brb.ExecuteScalar();<br />
Oconn.Close();<br />
return "it seems to have worked.";<br />
} <br />
catch (Exception e) <br />
{<br />
return e.StackTrace.ToString();<br />
}<br />
}
http://digg.com
|
|
|
|