|
|
prakash_adysoft wrote: crawler how to work
When somebody can't walk properly (possibly because they've had too much to drink), then they sometimes fall to all fours. This is how a crawler works.
|
|
|
|
|
i need daniel carvalho liedke s mail
|
|
|
|
|
Never heard of him. Not sure why you'd assume that anyone who read this would have his email, or know who he is. If he wrote an article, you can email him using the email he gave the site, via his article. If he posted here, you can email him via his posts.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi guys,
i want to validate the xml file using DTD in C#.net. can u send me the sample C#.net code to validate the xml file..
Cheers
velu
d.sengottuvelu
|
|
|
|
|
System.Xml.XmlReaderSettings.ProhibitDtd = false (But I don't use DTDs.)
|
|
|
|
|
Hi,
I need to Convert DWG file to .X file.Is that possible??Because DWG is a CAD file format and .X is DirectX file format.Kindly give me some useful information regarding my issue.
Regards,
Priya
|
|
|
|
|
You want to write code to do this, in C# ? If you just want to convert a file, your question has nothing to do with this forum, did you try google ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks Spacix One for help on how to open a comma delimited file into a spread sheet. That was awesome !!
|
|
|
|
|
I'm glad you got good help, but you create a new account, to post a comment of thanks to someone who may or may not see it ? why not use your old account and respond on the thread where he helped you ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Could not access my old account after long frustrating hours to access it
|
|
|
|
|
How bizarre. You could not access your account, for hours ? I guess you didn't give a real email address to use to get your lost password then ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Hi all,
I have deploy a window application and install in admistrator account which can access by all user. I am successful install it and run in limited account. But the exception occure when need to delete data in database (ms access using oledb connection). Note that, it is no any exception if this application run under adminstrator account. Below is the exception details:
************** Exception Text **************
System.Data.OleDb.OleDbException: Could not delete from specified tables.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at TimewayGeneratorRev2.SQLConnection.DeleteSQL()
at TimewayGeneratorRev2.FrmNew.CreateNewProgram()
at TimewayGeneratorRev2.FrmNew.btnsave_new_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
TimewayGeneratorRev2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
ChartUserControl
Assembly Version: 1.0.3056.42194
Win32 Version: 1.0.0.0
CodeBase: file:----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:----------------------------------------
any idea or any solutions are welcome
regards
cocoonwls
|
|
|
|
|
Obviously, your limited account does not have permission to do this. Are you logging into the DB using a username/password, or windows integrated security ? If the latter, then changing your user could well change what the DB allows.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Christian Graus
Christian Graus wrote: Are you logging into the DB using a username/password
I don't think so, below is my connection string
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Userprogram.mdb"
Christian Graus wrote: or windows integrated security
I have no idea whether i am using any windows integrated security or not.By the way,how can i to ensure it?
Christian Graus wrote: changing your user could well change what the DB allows
How can i do that?Please guide me thought it. Thanks
modified on Saturday, May 17, 2008 9:50 PM
|
|
|
|
|
The error originates in the Access (JET) database, when it tries to modify (delete) data. Assuming your database doesn't use the strange security mechanisms available in Access (using SYSTEM.MDB and so on for user names and passwords), I would guess that either:
a) The regular user doesn't have modify permissions on the MDB file.
b) The regular user doesn't have modify permissions on the LDB file, or sufficient permissions to create one when it doesn't exist.
This would make the database readonly for non-administrators, meaning that all attempts to modify data will throw exceptions.
If possible, you should look at using SQL Server 2005 Express Edition instead (sqlexpress for short). The Access JET database engine has been living under threat of extinction for a decade or so by now and has a number of drawbacks (one of them being that no user can modify any data in the database unless they have sufficient permissions to actually delete the entire database file if they feel like it). The learning curve for shipping it with your app (making it install silently and getting your initial database installed) is kind of steep but the job is simple once you get a hang of it (and there are a lot of good articles on it).
--
Peter
|
|
|
|
|
Hi PeterTheSwede,
Thanks for your suggestion.I am agree with your point.
PeterTheSwede wrote: using SQL Server 2005 Express Edition instead (sqlexpress for short)
Currently,i can't shift to SQLExpress now.But i will make it for my next version of application.
PeterTheSwede wrote: The learning curve for shipping it with your app (making it install silently and getting your initial database installed) is kind of steep but the job is simple once you get a hang of it (and there are a lot of good articles on it).
Can you please guide me to solve this out or the related articles?
Thanks in advance
cocoonwls
modified on Saturday, May 17, 2008 9:49 PM
|
|
|
|
|
Hi,
I suggest you start here:
http://www.microsoft.com/sql/editions/express/default.mspx[^]
And... I was writing too fast. The old version (MSDE, based on SQL Server 2000) was a bit bitchy (command-line installer with a lot of options, tricky to invoke during your own install - especially tricky to detect failures). Entirely new scenario with the 2005 version (SQL Server Express). And to be honest, I've never integrated that into a setup (as I develop mainly custom apps, I usually install the software myself) - the SQL Server Express setup can be run interactively and is self-explanatory.
Also, you need to register to redistribute and I haven't gotten around to that...
--
Peter
|
|
|
|
|
If you have a strong named assembly and it is hacked using ILDASM and ILASM the application will fail strong name checking, but you can flag the assembly for skipping strong name validation. My question can you in the application code force the Dotnet framework to do a validation check and then take the necessary acton based on the result.
Thank you in advance
williamt
|
|
|
|
|
I want to capture keyboard input and display it in a textbox the same way that, in Excel when you type into a cell, your text appears in the box at the top. I've tried the following code with weird results. The problem is that the input string variable accumulates KeyChar input in odd ways. The correct input is parsed; it's just not displaying properly in textBox1. As you can see, I've tried everything I can think of to clear out both 'input' and textBox1 with no luck.
public partial class Form1 : Form<br />
{<br />
string input;<br />
public Form1()<br />
{<br />
InitializeComponent();<br />
}<br />
void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)<br />
{<br />
dataGridView1.EditingControl.KeyPress += new KeyPressEventHandler(EditingControl_KeyPress);<br />
dataGridView1.EditingControl.KeyDown += new KeyEventHandler(EditingControl_KeyDown);<br />
e.Control.KeyPress += new KeyPressEventHandler(dataGridView1_KeyPress);<br />
}<br />
void EditingControl_KeyPress(object sender, KeyPressEventArgs e)<br />
{<br />
input += e.KeyChar.ToString();<br />
textBox1.Text = input;<br />
}<br />
private void dataGridView1_CellParsing(object sender, DataGridViewCellParsingEventArgs e)<br />
{<br />
input = String.Empty;<br />
textBox1.Text = input;<br />
textBox1.Text = e.Value.ToString();<br />
}<br />
}
|
|
|
|
|
Not sure what you actually do there.
What would be the need of the first assignment, when you have the second one?
textBox1.Text = input;
textBox1.Text = e.Value.ToString();
Further comment: in case you want to consume a key, see here[^].
SkyWalker
|
|
|
|
|
You're right, those two lines are redundant. I was just trying various things and that's a relic. The purpose of all of this is simply to replicate keystrokes in textBox1 so that the keystrokes appear in the dataGridView1 cell simultaneously with textBox1. That is happening -- sort of -- but there's an unwanted accumulation of keystrokes appearing in textBox1. Try it and you'll see what I mean. I appreciate your comments.
|
|
|
|
|
hello
i have to read content of a fild in a record in datagrid , but i can not.
bizhan mp
|
|
|
|
|
Why not ? How about myGrid.Rows[index][colIndex] ???
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|