Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags

22 Posted Topics

Member Avatar for Srcee

I have two tables in my database - Category and Food. Food has idCategory. Category has id and idParentCategory. From them, I need to create a string which will look like this (or xml): <?xml version="1.0"> <tree id="0"> <item text="Category1"> <item text="Food1"/> <item text="Food2"/> </item> <item text="Category2"> <item text="Category1"> <item …

Member Avatar for thines01
0
171
Member Avatar for Srcee

Hi, I am a beginner (not a total beginner though) in C#. I am writing here because I want someone to give me advice on what to program in my free time in order to learn C# more. For example, I know how to zip/unzip files, read/write from xml files, …

Member Avatar for berniefitz
0
192
Member Avatar for Srcee

I get the error "Error 1(E4) "end." or implementation section members (types or methods) expected." Nowhere on the internet I can find information about this error. I get this error because of this line of the AssemblyInfo.pas file: Implementation SomeMethod(); end. I work in Delphi Prism.

Member Avatar for Srcee
0
96
Member Avatar for Srcee

I have an application in C#, .Net 2.0. I want it to run on Mac. The application has .cs files, .exe etc. What of the file should I put in the .dmg file?

Member Avatar for jingda
0
137
Member Avatar for Srcee

I want to create menu structure from a database. For example, the database is the following: id name parent 1 x null 2 y 1 3 z null 4 a 3 5 b 2 The result should be: -x --y ---b -z --a Now, the algorithm I have on mind …

Member Avatar for buddylee17
0
231
Member Avatar for Srcee

I can't catch exception on windows services. I've already tried the following: [CODE]AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(handlerMethod);[/CODE] alone and in combination with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);[/CODE] It doesn't even function with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);[/CODE] I've also tried: [CODE]Application.ThreadException += new ThreadExceptionEventHandler(handlerMethod);[/CODE]

Member Avatar for Mitja Bonca
0
2K
Member Avatar for Srcee

I have an application in C#, .Net 2.0. I want it to run on Mac. The application has .cs files, .exe etc. What of the file should I put in the .dmg file?

Member Avatar for SyncMaster170
0
243
Member Avatar for Srcee

I have a `richTextBoxLog` which is public and static. After I declare it, I start a new thread which initializes new variable named `proba`. `richTextBoxLog` should get the value from `proba`. The problem is, `proba` needs time to be initialized, and I want `richTextBoxLog` to initialize while `proba` is initializing. …

0
47
Member Avatar for Srcee

I have a richTextBoxLog which is public and static. After I declare it, I start a new thread which initializes new variable named proba. richTextBoxLog should get the value from proba. The problem is, proba needs time to be initialized, and I want richTextBoxLog to initialize while proba is initializing. …

Member Avatar for Srcee
0
93
Member Avatar for Srcee

[code=c]MailMessage msg = new MailMessage("myAddress@hotmail.com", txtTo.Text, txtSubject.Text, txtBody.Text); SmtpClient client = new SmtpClient("something"); client.Send(msg);[/code] Both the address "to" and "from" are hotmail addresses. Instead of "something" I tried pop3.live.com and smtp.live.com, but they both didn't work. Can someone help me? And I have a second question. If my "from" e-mail …

Member Avatar for Srcee
0
138
Member Avatar for Srcee

I have a listview with two groups. The code is the same for Windows and Wpf applications, but when I show the listview, in Wpf application, there isn't grouping. Here' the code: [code=c] private System.Windows.Forms.ListView listView1; ListViewGroup group1 = listView1.Groups.Add(fur.GetHashCode().ToString(), fur.GetType().ToString() + " - " + fur.Message); //some more code …

Member Avatar for Srcee
0
109
Member Avatar for Srcee

How to get video frame width and frame height? I need it for .avi, .mov, .mp4, .wmv. I've tried some links using JockerSoft.Media.dll, and Shell32.dll, but the first one isn't good for .mov and .mp4, and the second one is only for Windows, and I need it for Windows and …

Member Avatar for Srcee
0
462
Member Avatar for geegoo!

[QUOTE=1o0oBhP;78303]if you sort it DESCENDING you can loop through the array subbing the element from the total sum, if the next element causes the result to fall below zero you skip it for example sum = 15 integers: 10, 4, 3, 1 we loop through and take 10 from 15 …

Member Avatar for now how abt tht
0
430
Member Avatar for Srcee

I have this code: [code] HttpWebRequest request = (HttpWebRequest) WebRequest.Create(someUrl); request.Accept = "*/*";/////////// request.CookieContainer = cookies; request.Method = sendVerb; request.CachePolicy = new RequestCachePolicy(RequestCacheLevel.Reload); request.AllowAutoRedirect = false; request.KeepAlive = true;[/code] When I'm in GET mode, in this line, the program crashes: [code]using (HttpWebResponse responseData = (HttpWebResponse)request.GetResponse())[/code] The information in the catch …

Member Avatar for gusano79
0
148
Member Avatar for Srcee

I'm writing an application in C#. I already have not empty .xml file but I want to add new values in it, without deleting some old. I have tried these codes: First: [code=c]FileStream docNewUser = new FileStream(@"C:\\MyApp\\MySubDir\\Data\\" + pr + ".xml", FileMode.Open); XmlTextWriter xmlNewUser = new XmlTextWriter(docNewUser, null); xmlNewUser.WriteStartDocument(); xmlNewUser.WriteStartElement("RootEl");//root …

Member Avatar for hericles
0
166
Member Avatar for Srcee

I'm working on an add-in for Visual Studio which works well on framework 3.5 but not on 4. Do you have any idea why would the add-in do this? The add-in is written in C#.

Member Avatar for Srcee
0
152
Member Avatar for Srcee

When I run my program (which is an add-in for Visual Studio) in Visual Studio 2010, in a wpf application, it opens every .xaml document which is an item of the wpf application. It will be very boring problem if my application would have a lot of .xaml files. I …

Member Avatar for Momerath
0
45
Member Avatar for Srcee

I should find max in a multidimensional array. But, the elements of the array are given by keyboard, and so is the size of the array. The elements are integers. So, is this correct: ;message for the user to enter the size ;reading the size i equ -1 j equ …

Member Avatar for tesuji
0
108
Member Avatar for Srcee

Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm?

Member Avatar for tesuji
0
522
Member Avatar for Srcee

The results of an exam are in this order: 72, 40, 94, 18, 80 and are in the data segment. You should write an assembly program which will determine the best result and will put it on location BEST in the same segment that should be defined after the array. …

Member Avatar for wildgoose
0
106
Member Avatar for Srcee

What will be in CH and AH after these commands? MOV AX, 1234 MOV BP, AX MOV DX, 999 MOV DI, DX MOV CH, 222 [bp+di]

Member Avatar for Srcee
0
202
Member Avatar for Srcee

What would be in registers ax, ah and al after these commands: MOV AX, 1010 MOV AH, 5 ADD AL, 5 I understand that ax contains ah and al but I don't know the answer of this question

Member Avatar for Srcee
0
91

The End.