Click here to Skip to main content
15,904,023 members
Home / Discussions / C#
   

C#

 
AnswerRe: ProgressBar Pin
N a v a n e e t h9-Jul-09 17:13
N a v a n e e t h9-Jul-09 17:13 
GeneralRe: ProgressBar Pin
peishen889-Jul-09 17:29
peishen889-Jul-09 17:29 
GeneralRe: ProgressBar Pin
Mycroft Holmes9-Jul-09 19:52
professionalMycroft Holmes9-Jul-09 19:52 
Questionurgntz codez wanted. WinForms - show a usercontrol, docked, as Modal Pin
_Maxxx_9-Jul-09 13:56
professional_Maxxx_9-Jul-09 13:56 
AnswerRe: urgntz codez wanted. WinForms - show a usercontrol, docked, as Modal Pin
Mycroft Holmes9-Jul-09 14:06
professionalMycroft Holmes9-Jul-09 14:06 
GeneralRe: urgntz codez wanted. WinForms - show a usercontrol, docked, as Modal Pin
_Maxxx_9-Jul-09 15:51
professional_Maxxx_9-Jul-09 15:51 
GeneralRe: urgntz codez wanted. WinForms - show a usercontrol, docked, as Modal Pin
Mycroft Holmes9-Jul-09 19:50
professionalMycroft Holmes9-Jul-09 19:50 
QuestionIE automation Pin
yogesh_softworld1239-Jul-09 13:02
yogesh_softworld1239-Jul-09 13:02 
AnswerRe: IE automation Pin
schiebel-t9-Jul-09 21:14
schiebel-t9-Jul-09 21:14 
Question64bit fixed point timestamp to and from DateTime Pin
DaveyM699-Jul-09 11:32
professionalDaveyM699-Jul-09 11:32 
AnswerRe: 64bit fixed point timestamp to and from DateTime Pin
Luc Pattyn9-Jul-09 12:24
sitebuilderLuc Pattyn9-Jul-09 12:24 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
DaveyM699-Jul-09 22:28
professionalDaveyM699-Jul-09 22:28 
AnswerRe: 64bit fixed point timestamp to and from DateTime Pin
Henry Minute9-Jul-09 12:29
Henry Minute9-Jul-09 12:29 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
DaveyM699-Jul-09 22:20
professionalDaveyM699-Jul-09 22:20 
AnswerRe: 64bit fixed point timestamp to and from DateTime [modified] Pin
Luc Pattyn9-Jul-09 13:41
sitebuilderLuc Pattyn9-Jul-09 13:41 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
DaveyM699-Jul-09 22:16
professionalDaveyM699-Jul-09 22:16 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
DaveyM699-Jul-09 23:05
professionalDaveyM699-Jul-09 23:05 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
Luc Pattyn9-Jul-09 23:22
sitebuilderLuc Pattyn9-Jul-09 23:22 
GeneralRe: 64bit fixed point timestamp to and from DateTime [modified] Pin
DaveyM6910-Jul-09 4:00
professionalDaveyM6910-Jul-09 4:00 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
Luc Pattyn10-Jul-09 7:28
sitebuilderLuc Pattyn10-Jul-09 7:28 
GeneralRe: 64bit fixed point timestamp to and from DateTime [modified] Pin
DaveyM6910-Jul-09 8:48
professionalDaveyM6910-Jul-09 8:48 
QuestionIsolatedStorageFileStream Pin
AAKAra9-Jul-09 10:32
AAKAra9-Jul-09 10:32 
Hi,
I use the Stream class in a framework.dll to read and write a setting like this,

get
{
Stream stream = GetStreamForRead(ClientHelpFile);
if (stream == null)
return HelpOption.Automatic;
int HelpOptionRead = stream.ReadByte();
stream.Close();

}
set
{
Stream stream = GetStreamForWrite(ClientHelpFile);
stream.WriteByte((byte)value);
stream.Close();
}

private const string ClientHelpFile = "TAC.ClientHelpProfile.bin";
private const IsolatedStorageScope scope =
IsolatedStorageScope.Roaming |
IsolatedStorageScope.User |
IsolatedStorageScope.Assembly |
IsolatedStorageScope.Domain;
private static IsolatedStorageFile GetIsolatedStore()
{
return IsolatedStorageFile.GetStore(scope, null, null);
}

private static Stream GetStreamForWrite(string filename)
{
IsolatedStorageFile storage = GetIsolatedStore();
return new IsolatedStorageFileStream(filename, FileMode.Create, storage);
}

private static Stream GetStreamForRead(string filename)
{
IsolatedStorageFile storage = GetIsolatedStore();
if (storage.GetFileNames(filename).Length == 0)
return null;
return new IsolatedStorageFileStream(filename, FileMode.OpenOrCreate, storage);
}

the problem I am facing is I am using another application and referencing the same dll(FrameWork.dll).
the storage.GetFileNames returns null and I wish it return me whatever the file has saved in it. Am I missing something?
AnswerRe: IsolatedStorageFileStream Pin
Henry Minute9-Jul-09 11:54
Henry Minute9-Jul-09 11:54 
QuestionMail Merged Word document in IE , Need Control and want to update it ..Please help Pin
Sandumone9-Jul-09 10:03
Sandumone9-Jul-09 10:03 
AnswerRe: Mail Merged Word document in IE , Need Control and want to update it ..Please help Pin
Mycroft Holmes9-Jul-09 11:45
professionalMycroft Holmes9-Jul-09 11:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.