hi, Im trying to return the value contained in a datagridview cell upon clicking on the cell. can anyone please show me how to do this using vb.net?thanks
Simple question:
What is the pattern for the word character \w in c#, .net?
My first thought was that it matches [A-Za-z0-9_] and the documentation tells me:
Character class Description Pattern Matches
\w Matches any \w "I", "D", "A", "1", "3"
word character. in "ID A1.3"
which is not very helpful.
And \w seems to match äöü, too. What else? Is there a better (exact) definition available?
How to write Performance Test for .Net application? Does nUnit or any other Testing framework provides framework for this?
Edit: I have to measure performance of WCF Service.
Hello,
I have an application written in VB6, and I need to use a library written in .NET. Is there any way to use the library on my application?
Thanks
this is my function for plotting a graph in vb.net how I'm going to replace the ("Jon", 10),("Jordan", 30) with a value that i search from database ?
Private Sub chart_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chart_btn.Click
Chart1.Series("Student").Points.AddXY("Jon", 10)
Chart1.Series("Student").Points.AddXY("Jon", 10)
Chart1.Series("Student").ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar
End Sub
I've been developing a WPF application with .NET framework 3.5 and later had to change to 3.0. Some of the features like Func (System.Core.dll) and Linq is not available now and VS throws compile errors to my existing code. How can I use 3.5 features in 3.0?
I'm new to Continuous Integration. I want an advice with which tool should I start deal with. I see this is the biggest tools right now: CruiseControl.NET or TeamCity.
I'm using already this tools: Visual Studio 2010, Mercurial, NAnt, NUnit.
About 30 minutes of troubleshooting and it turns out the person who's trying to use my application doesn't have the newest version of the .NET Framework. Is there a way or some KB article which describes a best practice for informing users who are not updated or do not have the framework, etc.
Thanks!
my client is asking for windows 7 like look for my desktop application (developed in c#.net). please tell me how can i set such theame for my application so that i would look like windows 7... please tell me if any such a controls/theame available... (open source is prefered)... please help me out..
What's the best way to approach using Mercurial (HG) programmatically from C#?
I will be creating HG repositories, committing, and using other default HG functions. Are there are open-source .NET libraries that would allow me to do this?
Thanks in advance.
Hello,
.NET 4.0
I am looking for the easiest way to generate a Word document on our server.
Limitations :
Server side
I don't want to install word on the server
Data source is XML
I tried to generate a DOCX with XSLT which is fast and easy but the only way I could find to validate the generated document is to open it with Word and the only error I get when the document is not valid is "Error while opening document". Not very useful.
Any ideas?
Thanks,
Alex
Is there a way to embed multiple dependent assemblies into a single one for projects written on the following platform types: Windows Store Apps, Windows Phone 8, Portable Class Library?
I know that for regular .Net projects there is ILMerge, but on the aforementioned project types it doesn't work. Embedding assemblies as resources and then manually resolving the references using AppDomain.CurrentDomain.AssemblyResolve is not possible either, since AppDomain is not available in these types of project.
I am using protobuf-net to serialize and deserialize my messages. My message also contain come strings that can be null. However when I deserialize them on the other side, I get empty strings ("").
According to google docs, the default value for string type in empty string.
What could be the resolution for this issue?
Assume you are taking over a legacy .NET app. pre - 3.0
What are the top 5 diagnostic measures, profiling or otherwise that you would employ to assess the health of the application?
in VB.NET How can i write a memory stream to browser.My memory stream object has data to build a PDF file.Now i want it to be rendered on browser.How to do that ? Thanks in advance
Hi,
I've been using CruiseControl.NET for continuous integration and such. Now I want to be able to deploy projects with it. What is the preferred way of doing this? Do I make a new project which I 'Force Build' to deploy?
I really don't want to deploy on every successful commit.
Please share your thoughts.
I am writing a C# application and I would like to make calls to different matlab functions simultaneously(from different threads). Each Matlab function is located in its own compiled .net library. It seems that I am only able to call one Matlab function at a time however.
ie, if matlab_func1() gets called from thread1 then matlab_func2() gets called from thread2, matlab_func2() must wait for matlab_func1() to finish executing.
Is there a way to call different matlab functions simultaneously? Thanks.
Hello,
this should be pretty simple but I don't get it. How can I draw a single point in .Net? If I use g.DrawLine(Black,0,0,0,0) nothing is drawn and if I use g.DrawLine(Black,0,0,1,0) a line with 2 dots is used. The same happens with g.DrawRectangle. This has me intrigued.
Thanks in advance.
I am looking for ways to store data in a windows form application in .NET.
I want to make the input data of a system persistent, so when I close my program and open it again, the data is retrieved.
Which ways are of doing this besides creating a linked database?
Examples are gladly appreciated
regards
What .NET method has this error message: "Object cannot be cast from DBNull to other types"
The stack traces have been stipped from my logs so I'm looking for a starting point.
i published an application in vb.net. the user will be able to install the application anywhere they choose on the computer (or perhaps not anywhere they choose but where ever the default location is). how can i programmatically get the location where the user installed the application? another words i need the application to know where it is running from. how do i detect that?
The question I always wanted to ask and was afraid to, actually - what language is .NET Framework written in? I mean library itself.
It seems to me that it was C and C++ mostly. (I hope Jon Skeet is reading this one, it`ll be very interesting to hear what he thinks about it)
I want to use code access security and add code modify group. but I dont see .NET Configuration Tool in the administrator tools.
so where can I find this tool?
Thanks in advance.
Is there a way to tell the .NET to allocate a new object in generation 2 heap. I have a problem where I need to allocate approximately 200 MB of objects, do something with them, and throw them away. What happens here is that all the data gets copied two times (from gen0 to gen1 and then from gen1 to gen2).