i want to create a schedule for my windows media player instance in form in vb.net so that to arrange and play them according to time automatically how can i do that..
With alle the new paralell programming features in .NET 4.0, what would be a a simple and fast way to implement the producer-consumer pattern (where at least one thread is producing/enqueuing task items and another thread executes/dequeues these tasks). Can we benfit from all these new APIs? What is your preferred implementation of this pattern?
A while back a found a great-looking framework that allowed .net developers to implement a virtual file system. I thought I had bookmarked it, but it seems I haven't.
Does anyone know any frameworks for doing this?
EDIT: Here's a hint... It had a catchy, short name and it's own domain. Sorry, that's all I can remember :p
Hi all,
I'm adding a label to a page using the code below, how would I set the position of the label (i.e top right)?
Label lbl = new Label();
lbl.Text = "Test";
lbl.ForeColor = System.Drawing.Color.Black;
lbl.Font.Size = 10;
lbl.Font.Bold = false;
lbl.Font.Name = "Arial";
Page.Controls.Add(lbl);
Thanks
Hi there,
I'm in the need for a SCP library (free or commercial) to be used in a .Net 3.5 project. I've already had a look at SharpSSH but it lacks the a couple of basic features (like enumerating all files in a remote directory). Do you know a good, solid and cheap library?
Hai guys,
I ve developed a salary calculating software using vb.net.... Its working fine and i ve converted it to an exe file... My drawback is it can be copied and pasted in another system very easily... I want to generate a key for the exe file and while installing the key should be used and when installation is completed ,the key should not be used again... Is this ya secured one or give me some ideas how it can be done....
Hi to all.
I need a free library (or not too expensive) for .NET to work with the excel document. I need to read data, modify, save and add charts into the document.
Or in another way, I need a free library for creating and inserting charts into the excel document (only for charts).
I have found FlexCel and SmartXLS, but FlexCel doesn't support the charts (can't create), while SmartXLS has a small functionality.
Thanks for any help.
Is there a quick way to check whether a path I have is on a local disk or somewhere on the network? I can't just check to see if it's a drive letter vs. UNC, because that would incorrectly identify mapped drives as local. I assumed it would be a boolean in the DirectoryInfo object, but it appears that it's not.
I've found classic VB code to do this check (through an API), but nothing for .NET so far.
Like, if I write a program on windows using C# and the .NET framework, then drop the code on a Linux machine running mono, will it run exactly the same? Or would I have to rewrite it to work with Mono's libraries?
Hi Guys!!
I am reading data and filling a data set and want to return xml, in a .net web service.
so far I am trying to use
return mydataset.getxml();
but it is not helping as my method return type is "DataSet"
so is there any way I can get a well formatted xml.
Thanks
Hello everybody,
I implemented a custom DateTimePicker. On the DateTimePicker there is a button. In the examples I've found it's width is set to 16. This is working but I would like to have a dynamic approach.
So, is there a way to get the size of this button or is there a general way to get information about .Net-Control sub elements like size etc.?
Trying DateTimePicker.Controls didn't help me (it's empty).
Could some tell me the difference between 32bit and 64bit .NET assemblies?
I understand when it is needed to be precise instead of selecting AnyCPU configuration.
Regards,
Mita
i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing.
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
The .NET ComboBox autocomplete will not fully autocomplete with the display text contains a slash. It completes only up to the slash, leaving SelectedIndex == -1 and SelectedValue == null.
This behavior stupidly persists no matter whether your autocompletesource is set to ListItems rather than FileSystem or URL.
Is there any workaround for this that doesn't involve just throwing the ComboBox class away and writing a "MyComboBox" class?
I recently moved to Visual Studio 2010 and upgraded my website to work with .NET Framework 4. (From VS 2008 - Framework 3.5)
What are things I need to know to improve site speed, readability or memory use?
For example, I found out that when I use AJAX ScriptManager, one of it's new properties is EnableCDN which enables me to load AJAX .js files from Microsoft CDN.
Hi all,
I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs.
Is there a lib that suits my needs?
greetings,
Coen
There are many Logging frameworks for .NET, from simple Debug.WriteLine and Trace to Log4Net, Logging application block, NLOg and others.
Which one do you use or recommend, and why?
Also, which one would you recommend to NOT use, and why?
With plain old sdl in C i would copy the dlls i need into the exe directory and was able to run without install.
Now i am using sdl.net. I tried doing that but had no luck. Not even a clue to what dlls are missing as i did in the old C way. How can i have users run my sdl app without installation?
I need to use the RGBRast software renderer for a DirectX application I'm developing. Currently I'm just including the DLL with my install.
I have read a few places that it is also included with .NET 3.5 SP1. Is this true? If so, where is the DLL located?
This redistributable component can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?familyid=57d03491-6c49-4429-bff7-130408b5f410
If I want to validate that a text box contains an integer greater than or equal to zero. Do I need to use TWO asp:CompareValidator controls: one with a DataTypeCheck operator and one with a GreaterThanEqual operator?
Or is the datatype operator redundant? Can I just use a single validator with the GreaterThanEqual operator (and the type set to Integer)?
I need to compare tables with the same names in different databases ( Sql Server 2008 ). How using C# code and ADO.Net to identify additions, deletions, updates. Is DataReader going to work in this scenario without stored procedures ? DataReader seems to be suitable for single database connection, or am I missing something ?
I need to calculate averages, standard deviations, medians etc for a bunch of numerical data. Is there a good open source .NET library I can use? I have found NMath but it is not free and may be overkill for my needs.