|
You can use SQL CE on windows OS too especially if you don't want to every user to install sql server express. However, I believe sqlite offers better performance.
|
|
|
|
|
Giorgi Dalakishvili wrote: You can use SQL CE on windows OS too especially if you don't want to every user to install sql server express
I didn't get that. Are you telling that SQL CE will be installed already?
Giorgi Dalakishvili wrote: I believe sqlite offers better performance.
That's correct. SQLlite is good.
|
|
|
|
|
dose the SqlLite comes with DBMS? what are the SqlLite limitation comparing to SQL Express?
|
|
|
|
|
There are many sqlite DBMSes available. Some are free some aren't. You can also integrate it in visual studio and edit the database from visual studio.
jrahma wrote: what are the SqlLite limitation comparing to SQL Express?
Why don't you have a look at the links I provided and see it yourself?
|
|
|
|
|
jrahma wrote: dose the SqlLite comes with DBMS?
It comes with a dll. you can call that dll to create a database and can perform DDL and DML comands
|
|
|
|
|
N a v a n e e t h wrote: Are you telling that SQL CE will be installed already?
You don't need to install SQL CE. You just include several dlls with program and that's it.
|
|
|
|
|
Giorgi Dalakishvili wrote: You just include several dlls with program and that's it.
WOW! that's a new info for me. Thanks for that
|
|
|
|
|
You are welcome
|
|
|
|
|
You can try MySql. You have to download and install MySqlConnector .NET and then add MySql.Data.dll as a reference in your project.
|
|
|
|
|
Hello everyone,
I met with Http 407 error code when accessing some web site from my client application.
I read some description from,
http://www.checkupdown.com/status/E407.html
My confusions are,
1. what is the proxy in the context? the proxy server which we setup in our IE Http connection settings?
2. we always do authentication with the web site -- so two parties client and web site, why proxy involves?
thanks in advance,
George
|
|
|
|
|
To quote the page you referred
Your Web server thinks that the HTTP data stream sent from the client (e.g. your Web browser or our CheckUpDown robot) was correct, but access to the URL resource requires the prior use of a proxy server that needs some authentication which has not been provided. This typically means you must log in (enter user ID and password) with the proxy server first.
This message is clear, isn't it? So ask the website provider about the proxy details and send request to there first.
|
|
|
|
|
Hi N a v a n e e t h,
1.
My confusion is what is the proxy, where is it? In my situation I am in a school, the school has a proxy to let us access Internet. In my knowledge, there is also some proxy setup by the web site to improve performance -- called reverse proxy?? I am not sure.
So, what is the proxy means in this context?
2.
Does it mean the web site will delegate proxy to do authentication by itself? If yes, there will be complex trust model between the web site and the proxy for communication?
regards,
George
|
|
|
|
|
George_George wrote: So, what is the proxy means in this context?
Since I don't know your setup there, It's better to ask with the website provider/admin.
George_George wrote: Does it mean the web site will delegate proxy to do authentication by itself?
I am not sure, but I think proxy does the authentication before moving to the website. That's what the 407 error says.
|
|
|
|
|
Thanks N a v a n e e t h,
What really makes me confused is, in some other schools, they need a user name and password for the proxy server in order to access internet. I think it is called authentication.
Some web site like facebook also need user name and password, it is also called authentication.
So, my root confusing is,
- authentication from proxy means authentication to access internet or web site?
- does it means the school proxy could help facebook to do authentication? I am confused that facebook could trust school's proxy...
regards,
George
|
|
|
|
|
George_George wrote: does it means the school proxy could help facebook to do authentication?
No. School proxy authenticates your account and provide internet access or other services. Using that you access facebook where you need to supply it's user credentials. This helps the school to ensure no one is able to browse facebook without proxy authentication.
|
|
|
|
|
Hi N a v a n e e t h,
I am confused. In the sample I presented, facebook will trusted my school's proxy to delegate authentication task to my school's proxy?
regards,
George
|
|
|
|
|
George_George wrote: In the sample I presented, facebook will trusted my school's proxy to delegate authentication task to my school's proxy?
I don't think so. How you verified this?
|
|
|
|
|
Hi N a v a n e e t h,
I also think facebook should not trust my school proxy.
Now I think proxy authentication should be the activity just between me (the client) and the proxy server, should have nothing to do with extern web site. But I am not sure and I am finding some materials to prove.
It is appreciated if you could share some of your points.
regards,
George
|
|
|
|
|
Hello,
I am using C# (Interop.Word).
I am saving the document at the hard disc by using some predefined template
and the Document.SaveAs function.
When the user will open the document I have saved (by regular way, by
doubleclicking the Word file in the Explorer) I want the document to be
opened at the Print Layout and not at the Normal, as it somewhy does now.
How can I programmatically force the Word to do this?
In C# I do not open Word, so I do not have ActiveWindow...???
Thanks a lot.
|
|
|
|
|
Basically, you can't do this for individual documents without writing a Word addin that runs at startup, but then you'll have to recognise that the document is one that you want opening in this particular way.
|
|
|
|
|
Thanks a lot for your quick answer,
Actually I have encountered several problems working with Word.
Please see if you can help me resolve them.
My application creates documents (Microsoft.Interop.Word.Document) each one according to another template(.dot on the hard disc). Then I have to merge them and save as a single .doc (while the original formatting is saved). I do this in the following way:
Range rangeTrg = ((Document)(m_WordDocsArr[0])).Content;
object brk = WdBreakType.wdSectionBreakNextPage;
object rngEnd = WdCollapseDirection.wdCollapseEnd;
rangeTrg.Collapse(ref rngEnd);
for (int i = 1; i < m_WordDocsArr.Count; i++)
{
rangeTrg.InsertBreak(ref brk);
Range rangeSrc = ((Document)(m_WordDocsArr[i])).Content;
rangeTrg.FormattedText = rangeSrc.FormattedText;
rangeTrg.Collapse(ref rngEnd);
}
Problem #1:
If there is one document in m_WordDocsArr, afterwords when I open the .doc by doubleclicking it, Word opens it in Print Layout, if there is more than one document in m_WordDocsArr, Word opens it in Normal layout.
Why?
Problem #2:
The original templates I use have headers and footers.
Somewhy (???) the merged doc has the first document's headers and footers.
I tryed to save the headers and footers of the original docs before merging and assign them afterwords to each section, but the following code throws the exception:
ArrayList footers = new ArrayList();
....
footers.Add(((Document)(m_WordDocsArr[i])).Sections.First.Footers[WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.FormattedText);
.....
int ih = 0;
foreach (Section sec in ((Document)(m_WordDocsArr[0])).Sections)
{
sec.Footers[WdHeaderFooterIndex.wdHeaderFooterPrimary].LinkToPrevious = false;
sec.Footers[WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.FormattedText = ((Range)footers[ih]).Duplicate;
ih++;
}
So it is not so trivial for me to merge the documents with their original formatting?????
Please help me !!!???
Thanks.
|
|
|
|
|
Hello (and sorry for my poor english),
I'm beginner with C# and I'm trying to find out how I can give to my C# programm a long text variable as parameter so he could work with and have the result back as a variable.
I really want to give it as parameter, not as file.
(Sorry, but I didn't found what words I must use to find the solution on google)
Thanks for all
|
|
|
|
|
Why dont you use string variable
|
|
|
|
|
Hello and thanks for your answer.
I'm not sure I have explained my problem correctly.
I have a C# programm and I want to pass him text as a variable from an other programm, by example from a Word or Access macro.
Something as :
String strFile = Content of my Word Document (or an XML field of a SQL database or any Formular)
Call CProgramm(strFile)
I want to send to my program the whole text and have back the text modified by my C# programm.
|
|
|
|
|
Send the string as a normal program argument and in your C# program retrieve that from the "string[] args" parameter of the Main method.
Or if your string is very large, write it in a file and send the file path as an argument to your C# program.
|
|
|
|