|
|
You're welcome
I are Troll
|
|
|
|
|
Hi all,
I know this is not a C# relating question, didn't found a better forum .... but I read
so much and I tried much more...
The problem: I compiled a .chm helpfile with a correct linked html-file-site structur.
Outside the .chm file everything works fine.
I used different tools and I came always to the same result - the contens side stays blank
(than means - the typical message ... there is no internet connection ....comes up)
I registered the .chm file in the registry and controled that.
I set the correct accesslevel in the registry to Nr. 2 (means that local rights are accepted)
I decompiled my .chm file to see that the html-files are realy included - all seems to be fine.
What more is to do that the .chm contens will be shown ???
Thanks
Regards,
Frank
|
|
|
|
|
I've seen issues like that crop up due to Privacy Settings in the Internet Options. Try adjusting those to be less restrictive and see what happens.
You might also try making sure your CHM is on your local computer's hard drive rather than on a networked drive. Just a few things to check out.
|
|
|
|
|
Thank's for your suggestions,
the .chm file was generated on the local computer and shall be opened there also.
Thanks
Regards, Frank
|
|
|
|
|
You say you have tried lots, so it is difficult to know what to suggest.
However I have had this problem a few times and it has always been #2 from this[^] that has caused my problems. If you haven't already done so can I suggest that you google for problem with chm file blank contents, there are lots of hits.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry,
there are realy some more suggestions to solve the problem. I will follow your links. Will see what will happen.
But i fear I can't deploy a .chm file with my application due to similar expected problems on the clients.
Isn't there a more reliable (local) help technology on the market than .chm ?
Thanks,
Regards, Frank
|
|
|
|
|
Hi,
I am using Windbg to analyze a crash that was created from managed code. I am loading SOS and mscorwks and using the !pe command. I can see the managed callstack, with module and function names but no source file and line number information. I can see this information for native crashes, but not for managed.
I don't know if it is the PDBs or something else. when I did lm, it says I have private pdb symbols for my managed app.
Any help is highly appreciated.
Thanks
Nachiket
|
|
|
|
|
All,
I am interested in developing servers like FTP, HTTP/HTTPS using Windows XP with IIS 5.1 version server. I have searched a lot on internet for pointers which will give me information for creating all these servers using C#, but everything went vain! . I would request this forums members to give some information on implementing all these 3 servers using C#.I appreciate your help
Thanks Rajesh
|
|
|
|
|
I turned on the autocomplete feature for a combobox on my form and set the autocompletesource to Listitems. It is a databound combobox. When the user selects an item using autocomplete, I don't get a value for selectedvalue, is this expected behavior? Do I have to write a Leave routine to match the text with the value from the combobox?
Shouldn't this behavior be automatic?
|
|
|
|
|
WinForms ComboBox es? I didn't see a SelectedValue property, but I did find a SelectedItem [^] that might help you out
I are Troll
|
|
|
|
|
Hello am adding days for a date Time object but it is not adding the valyes could any body know why, btw am checking the values in a watch they are not changing unless i change them there(Watch);
DateTime startDate = new DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day);
DateTime endDate = new DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day);
startDate.AddDays(-3);
endDate.AddDays(3);
DateTime x = new DateTime();
x=DateTime.Now;
x.AddDays(3);
|
|
|
|
|
DateTime is immutable. The AddDays function (and others) return a new DateTime, they don't alter the first one so you need
startDate = startDate.AddDays(-3);
etc...
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
DateTime x = new DateTime();
x=DateTime.Now;
Also, in the second line you throw away the DateTime created in the first line, so why create it?
Try:
DateTime x ;
x=DateTime.Now;
or
DateTime x=DateTime.Now;
|
|
|
|
|
I'm looking to ramp up in learning visual programming with C# for Windows and am wondering what are good resources, such as books or in-depth online breakthroughs. Any good suggestions?
|
|
|
|
|
what is your level of knowledge of C#, or let's say the level of programming knowledge?
|
|
|
|
|
I'm pretty familiar with C++ and have been working with programming languages for a long while. What I don't understand, and would love to grasp, is how program flow/interactions work with WinForms/WPF, which of the latter to use, and really how to see the whole picture of visual coding for Windows.
|
|
|
|
|
I would suggest Wrox publication books for C# and Winforms to begin with
|
|
|
|
|
hello guys, I want to create a csv file from xml document, can someone please point me on some article to see how is this done?
Thanks in advance, Laziale
|
|
|
|
|
|
<restaurants>
<Business name="someBusiness">
<Address>
<Street>someStreet</Street>
<City>Las Vegas</City>
<Zip>89169</Zip>
<State>NV</State>
</Address>
<Contact>
<ContactPerson>someCP</ContactPerson>
<PhoneNumber>(702) 889-5587</PhoneNumber>
<MantaWebsite>http:
</Contact>
</Business>
</restaurants>
thanks for helping me
|
|
|
|
|
The easiest way is to dump the xml into a dataset and enumerate throught the rows and write to file. Look at the code below.
public static void SaveXmlToFile(string xml, string output)
{
string seperator = ";";
DataSet ds = new DataSet();
DataTable bzTable = null;
DataTable adTable = null;
DataTable cntTable = null;
StringBuilder sb = new StringBuilder();
using (MemoryStream ms = new MemoryStream())
{
using (StreamWriter sw = new StreamWriter(ms))
{
sw.BaseStream.Seek(0, SeekOrigin.Begin);
sw.Write(xml);
sw.Flush();
sw.BaseStream.Seek(0, SeekOrigin.Begin);
ds.ReadXml(sw.BaseStream);
}
}
bzTable = ds.Tables["Business"];
adTable = ds.Tables["Address"];
cntTable = ds.Tables["Contact"];
foreach (DataRow bzRow in bzTable.Rows)
{
int curBzId = Convert.ToInt32(bzRow["Business_Id"]);
foreach (DataColumn bzCol in bzTable.Columns)
{
sb.Append(string.Format("{0}{1}", bzRow[bzCol].ToString(), seperator));
}
foreach (DataRow adRow in adTable.Select(string.Format("[Business_Id]={0}", curBzId)))
{
foreach (DataColumn adCol in adTable.Columns)
{
sb.Append(string.Format("{0}{1}", adRow[adCol].ToString(), seperator));
}
}
foreach (DataRow cntRow in cntTable.Select(string.Format("[Business_Id]={0}", curBzId)))
{
foreach (DataColumn cntCol in cntTable.Columns)
{
sb.Append(string.Format("{0}{1}", cntRow[cntCol].ToString(), seperator));
}
}
sb.Append(Environment.NewLine);
}
using (StreamWriter sw = new StreamWriter(output))
{
sw.BaseStream.Seek(0, SeekOrigin.Begin);
sw.Write(sb.ToString());
sw.Flush();
}
ds.Dispose();
bzTable.Dispose();
adTable.Dispose();
cntTable.Dispose();
}
|
|
|
|
|
thanks, that really helped me.
have a nice day, Laziale
|
|
|
|
|
I have done that with XSLT, but it's tricky.
I see you posted a snippet of XML, could you also post how you want the CSV to look?
|
|
|
|
|
Sorry for such question (I think it was earlier, but my problem is below):
I'm trying to find transparent controls and all I'd found are only ones, which background-transparent, but not on-control-transparent:
picture:
Transparent[^]
As you can see, usual button cannot be seen under glass transparent button.
|
|
|
|