MarkR9999's Q&A profile
Visual Basic it is possible to make my app work without .net Framework!
Hi Folk I have created a VB.NET Win Application and when I try to install it, it asks me to install the .net Framework first!! Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!!!!! This is a big disaster, if I will need to install a 20 MB to make a 200 kb application Works! I need to run my application without the .net Framework! Any ideas please Thanks If you have concerns about .Net Adoption I would suggest checking out this post by our VP Soma... http://blogs.msdn.com/somasegar/archive/2004/06/03/148131.aspx ...Show All
Visual Studio Express Editions How do I count the vbCrLf's in a text string?
Visual Basic 2005 Express Edition: The user enters a 'Note' into a multiline TextBox. I then print out that note on a printed page. This is difficult, because, if he presses 'Enter' at the end of his lines, the text ends up overlapping the text that follows his note. I need to be able to count the vbCrLf's in his note, so that I can increment the y position. You can get the number of lines by using the Lines property that returns an array of strings. Dim nLineCount As Integer = TextBox1.Lines.Length ...Show All
Visual Studio Using Crystal Reports 10 with C# EE 2005
Hi! I've created report file for crystal report, and have placed report viewer on the form. Can anybody tell me how can I do the following: 1) Displaying the report in the viewer on the form. 2) To be able to change the data source programmatically before displaying it in viewer. Please respond with sample codes or specify related links. Thanks in advance. Sohail. Thanks mewdied, it seems to be the case. I have full version of CR 10 and express version of VS 2005. Can anybody who is cent percent sure about not being able to use CR 10 with VS Express 2005, confirm this . Thanks. ...Show All
.NET Development Any Samples of IBindingListView
Are there any samples around of implimenting IBindingListView on collections for .net 2.0 yet There's a really great one on IBindingList but I want to go further, and I'm at a loss as to how to intelligently impliment things like Advanced Sorting and Filtering on a collection. If there isn't, this would be a great article for MSDN somewhere :) *hint* *hint* :) Thanks! That's a great question to ask on the Windows Forms Databinding forum at: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=7 David Sceppa Microsoft ...Show All
Software Development for Windows Vista General questions about certificate use in application
I am building a p2p application using the WCF peer channel. I would like the messages between peers to be secure (signed and encrypted). To do this I need to have each peer use a certificate that is unique to that user. The only things I have found on creating certificates has to do with testing of code signing, not use in real applications. What I think I need to do, but have not found a way to do in code are the following: 1) Using my certificate create a certificate for each license of my software. 2) From each license allow the user to create a certificate for that user's accounts (one license can have more than o ...Show All
Visual C# How to dynamic get numeric min and max value
I want to get numeric min and value by Type. But I don't know how to do it in .net using System.Reflection; int i = 0; Type intType = i.GetType(); object minValue = intType.InvokeMember("MinValue", BindingFlags.GetField, null , i, null ); ...Show All
SQL Server display images with Reporting Services
hi all, i'm very new to Reporting Services and i did not design a report containing images before. i have all my pictures in an image column in an SQL Server database table; i have a report that queries this table. when i run the report i get the following: Build complete -- 0 errors, 0 warnings The value expression used in textbox ‘label’ returned a data type that is not valid. Preview complete -- 0 errors, 1 warnings can anyone tell me what settings do i need to make in order to see the pictures displayed in the report thanks, kowalsky I'm probably infringing some copyright here.. but... How to add ...Show All
Visual Basic Saving variable values
Hi Again, I want to know in Visual Basic 2005 how to save variable value(s) into a file (of any arbitrary extension) and retrieve the value(s) later. So basically, a value I/O to a file. Any help would be appreciated. Regards, Arun. Hi Peter, I just want to randomly write and retrieve values into and from a file of any arbitrary extension. It would be helpful if you could also pitch in as to how to save and retrieve values as properties of an object. Regards, Arun ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to create a new Texture from an existent Texture?
How to create a new Texture from an existent Texture I have a bitmap file, first I created a Texture from a bitmap file by using function D3DXCreateTextureFromFile(). Now I want to create an another Texture from the existent Texture, and the new Texture's content is the existent one's bitmap but be rotated 15 degrees. For Example: the existent Textures have a horizontal line "-" on it's center , from the old Textures I can create another three Textures by rotating different degrees, and the another Textures looks like "\" , "|" or "/" . How to do this I only want to create a series of sequential Textures from one Texture, not to rotate ...Show All
.NET Development DataGridView navigation problem with the enter(return) key
Hi, I have a combobox which has 3 strings added in design time. They are Active, Disabled and Suspended which shows the state of the user. On the other hand I have a bindingsource which is bound to datatable called tblUser. In runtime, when the user navigates through the records in tblUser using a bindingnavigator, the combobox displays the correct state of the user via it`s databinding SelectedItem. The problem is that when I use the SelectedItem property to bind the combobox, there is always DataTable.ColumnChanged even fired whenever the user moves from one record to another. So although there is no change made to tblUser, the Statu ...Show All
Software Development for Windows Vista Invoking one workflow from another
I want to invoke one workflow from another and get some back some return values from the second workflow. I tried the InvokeWorkflow activity but have some issues with that. 1. If I use a workflow in the same project for the InvokeWorkflow activity then I get the following error "You cannot invoke a workflow compiled in the same project as the invoking workflow." Why is this not allowed 2. I invoked a workflow from a different project but that other workflow had some "out" and "ref" params so that it can return a value back to the calling workflow. However I got the following error: "Workflows with Out or Ref parameters cannot be invoked fr ...Show All
SQL Server Financial function
Hello, I seek a solution for the cacule of YIELD TO MATURITY of the bonds. In Excel av YIELD() but SQL server Do you have an idea Thank you Isn't the sigature automatically inserted anymore -- Frank Kalis Microsoft SQL Server MVP http://www.insidesql.de Heute schon gebloggt http://www.insidesql.de/blogs ...Show All
.NET Development Detection of various SQL databases
Hi, I've had to put my programming project on hold for about 10 weeks while getting a busy period at work out of the way. Now I am returning to it and require some answers. I am using SQL server 2005 express edition and Visual Studio 2005 (C# language). I have already decoded a 90MB file and constructed my own SQL database of the information I require. I call this my master database. This database feeds data to much smaller databases. What I need to do now is find a way to detect how many databases and all database names that the SQL server engine can find. My program needs to be able to pick up the various databases automatically ...Show All
Visual Basic WebBrowser_FileDownload event
I am working on a VB.Net webbrowser named: MicroSE Unite: http://elfsander.cjb.cc/downloads/bestanden/setupUnite.zip Now I want to add my own FileDownload handler but the FileDownload event doesn't return an URL, so I can't use it... Can somebody please help me with this I've submitted a bug for this: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackId=FDBK27565 ...Show All
.NET Development How to Import the Tables of Database to ExcelSheet?
How to Import the Tables of Database to ExcelSheet Is there any SP available or Manual way There are several ways to do this. Everything depends on what you need to achieve and what you have on your development PC. You could use Jet OLEDB provider to do this, Microsoft Excel DOM model (but it is slow) or dump it into XML format that compatible with Microsoft Excel XML format. Next query on a Knowledge base shows some samples how to do this. Personally I wen another way and created my own component that does this task. The rason for it was poor performance of all those ways ...Show All
