|
hi
i want to create help for my application.
and want to know what is best way to create help ?
and what is the way to convert a word document to chm?
tanks
|
|
|
|
|
|
Word does not produce very efficient HTML code, but you may store a word document as HTML. Best way is to use an html editor th create all pages and import the in HTML Workshop to create the .chm file. It is abit more work, bur much more flexible. You can use full html, including style sheets (which I recommend to do). Do not forget to test the resulting chm file thoroughly, to make sure all your help texts just do what you want them to do.
Rudolf Heijink
|
|
|
|
|
I want to insert a sub report in my report the data in the sub report filterd by the group data in the Main report
merwa
|
|
|
|
|
I am trying to convert a Delphi project to c# project. As part of the project a C-dll is called to conduct simulation (pipe network analysis).
On some of the forms I have placed custom controls such as Numeric text boxes and ZedGraph. I am able to create these forms immediately before conducting simulation (calling unmanaged C dll). But immediately after simulation (i.e., calling unmanaged C dll), I am not able to create these forms. The application is abruptly getting terminated. I tried to debug it, and found that termination is occuring inside InitializeComponents() function (in particular, it is occuring when trying to initialize custom controls). All other forms (which does not contain custom c***rols) are working fine. I am not able to pinpoint the error. Anyone outhere could please help me in correcting the mistake.
I can email the source code if someone wishes to view it. I cannot post it here because it is a large file.
Thanks in advance.
Regards,
Prasad
|
|
|
|
|
Hi there !
I want to develop simple internet chat that work like yahoo messenger, that users can chat private with them or use a conference.
Please help me, that How can I develop it with C#?
Thanks.
|
|
|
|
|
This is the ubiquitous "newbie" TCP/IP application. There are hundreds of examples out on the web. All you have to do is Google for "C# chat".
|
|
|
|
|
Hello everyone,
I am developing an application and I need to retrieve and save some IMAP Emails, I have successfully login to my IMAP emails and get every message by its Unique ID but the problem is that I found some messages with an empty Unique ID !!!!!
I don't how or what to do, how can I retrieve a message without its UID, Knowing that ID only changes according to sorting and other issues .
If u have any solution please advise.
Thanks,
Nermeen
|
|
|
|
|
FileUpload1.PostedFile.SaveAs(Server.MapPath("Data Source=ASHWINI-PC;Initial Catalog=Listopedia;Destination Table=Products;Integrated Security=False;Persist Security Info=True;User ID=sa;Password=password;User Instance=False"));
The above code is where I have chosen to upload the file a table in the Database. But looks like it does not even the read the code. This code is in the butUpload Click_Event procedure..
Help Please!!
|
|
|
|
|
with fileupload control , can not create a folder in server.
for example if you want to upload a file such as follow :
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/image/"));
and image folder not exist in your address , can not upload it.
|
|
|
|
|
You cannot save a file directly to the database like that. You MUST save the file to the file system somewhere, then write the code to write that file to the database. SaveAs requires that you supply the fully qualified path to the folder where the file is being written to and the ASP.NET app must have write permissions to that folder.
|
|
|
|
|
hey ,
im working on a project which involve oracle database , untill now i was testing my application when the app and the oracle server are on the same box and it was working great, but now when im trying to test the application on a different box it is a failure,
when trying to establish connection with database i get : "ORA-12514: TNS:Listener does not currently know of service..."
the connectionString looks like this:
String connstr = "server=" + Properties.Settings.Default.dbHostName +
";Persist Security Info=True;User ID=" + Properties.Settings.Default.dbUserName +
";Password=" + Properties.Settings.Default.dbpass +
";Unicode=true;";
all the info in the properties is 100% correct when i get the error...
i can ping the target machine normaly
and i get this on the oracle server Listener.log file:
19-AUG-2007 08:54:52 * (CONNECT_DATA=(SERVICE_NAME=192.168.2.100)(CID=(PROGRAM=C:\Documents and Settings\Udi\Desktop\Udi DeskTop\FileHelpersTest.exe)(HOST=PILOY-3EC14114C)(USER=Udi))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.101)(PORT=3662)) * establish * 192.168.2.100 * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
when i connect on the computer which the server is installed on successfuly it looks like this:
19-AUG-2007 08:44:56 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=C:\Documents and Settings\Udi\My Documents\Visual Studio 2005\Projects\FileHelpersTest\FileHelpersTest\bin\Debug\FileHelpersTest.vshost.exe)(HOST=TEHUB3R-BCEDAD0)(USER=Udi))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.100)(PORT=1176)) * establish * XE * 0
i think when i connect on the remote computer i dont set the SID
but i didnt find any way of setting the SID , dont know if its possible at all,
Any help is more than welcome i was googling for 10 hours about this
alot of stuff about the error but nothing that made sense to my problem
thanks.
Net
|
|
|
|
|
Hi
first of all this doesn't have anything to do with c#. it's a Database question and should be asked in the Database Section.
you must use the "net configuration assistant" to create a local alias of the remote service. if you use the oracle .net components(provided with the oracle client software) for your connection, your connection string should look like "User ID=" + Username + ";Password=" + Password + ";Data Source=" + LocalAlias
greets
M@u
|
|
|
|
|
hey thanks for the fast reply , sorry for posting it here i thought its something to do with syntax , anyway i was configuring my tnsnames.ora
with the net conf assistant...
i made an alias that looks like this:
ORACLESERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.100)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = xe)
)
)
when i do tnsping oracle server this are the results:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.2.100)(PORT = 1521))) (CONNECT_DATA = (SERVER = SHARED) (SERVICE
_NAME = xe)))
OK (20 msec)
but when im trying to establish connection via my application
(the project im working on )
i get the folowing error:
ora-12154: TNS:could not resolve the connect identifier specific
on the connection string i was using Data Source="oracleserver";......
Net
|
|
|
|
|
hmm.. what happens when you remove "(server = dedicated)" for OracleServer in the tnsnames.ora?
|
|
|
|
|
The same error occures also i may add trying
to connect with sqlplus generate the same error
Net
|
|
|
|
|
oops sorry my fault we should both better read what oracle says
your oracle ping says "server=shared"
so try to change the "server=dedicated" to "server=shared"
|
|
|
|
|
oooh it was my fault i was posting a ping when i was testing
a shared connection and posted the tnsnames.ora when i was testing a dedicated connection.....basicly i was trying all the possible ways to connect and it generate same error
man thank you realy much for your time!! , its faster than msn messenger :P
*MODIFY* : oh i was trying this testservice tool in the oracle net manager i managed to connect to my server from this tool using the
"oracleserver" service that i have created ,
maybe that info helps
-- modified at 10:27 Sunday 19th August, 2007
Net
|
|
|
|
|
ok.. the ping said "using tnsnames to resolve blah blah blah..." as far as i know these tools do not look at the sqlnet.ora. did you configure the naming methods (second option in the net configuration assistant)? default is only local. you must tell it to use tnsnames also.
|
|
|
|
|
yea i did set the sqlnet.ora currently it looks like this:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES)
*MODIFY*:OK i FOUND A TEMPORARY SOLUTION!
i found out that you can set
Data Source="[hostname]/[servicename]"....
so i changed the code to DataSource="192.168.2.100/xe"
and i managed to connect via lan........ but still its anoying that i cant make that damn alias to work
THANKS FOR THE HELP!!!!
if you got any other ideas how to make it work i'll be glad to hear
thanks again
*
-- modified at 11:14 Sunday 19th August, 2007
-- modified at 11:19 Sunday 19th August, 2007
Net
|
|
|
|
|
how can i find which day of week today is.
i.e if today is Sunday then it should return 1
the problem is if it returns day of week in another language
for e.g in German they call Sunday as sonntag.
|
|
|
|
|
As far as I know all calenders in System.Globalization returns DayOfWeek property as a DayOfWeek Enumaration So no language would affect it.
and casting the DayOfWeek to integer gives something like this
Sunday=0,Monday=1,...,Saturday=6
int dayNum=(int)DateTime.Now.DayOfWeek+1;
good luck
|
|
|
|
|
I have a C# service that communicates to a USB flash drive. Since my program is smart enough to know when the drive is plugged in and when it's not, I don't need to have XP open the "Autorun" dialog window asking me what application to run when the drive is plugged in.
Can I somehow kill this window from my C# app? I would like to do it this way because if my application is NOT running, I DO want the XP autorun dialog to display giving users the option to install the application.
Any advice would be appreciated!
Thanks,
Barry
Barry Etter
|
|
|
|
|
You can disable it through registry
const int DISABLEALL = 0xff;
const int DISABLEALLEXECPTCDROMS = 0xdd;
const int DISABLECDROM = 0xb1;
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software").OpenSubKey("Microsoft").OpenSubKey("Windows").OpenSubKey("CurrentVersion").OpenSubKey("Policies").OpenSubKey("Explorer", true);
key.SetValue("NoDriveTypeAutoRun", DISABLEALLEXECPTCDROMS);
}
code for disable AutoRun for all devices is 0xff
and disable AutoRun for all devices except CD-Roms is 0xdd
disable just for CD-Roms is 0xb1
and the changes would be applied after restart
Good Luck
|
|
|
|
|
Good evening everyone,
As the subject says, I wonder if there's a possibility to add a column to a datagrid control that calculates (count, sum, or average) multiple columns or rows..
Please advise
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|