exe without IRDL reports
I m using vb .net 2008 , in this project I m using irdl reports , Is it possible that, i build project and give only exe and database file only (not given report files) to my client ? ...
I m using vb .net 2008 , in this project I m using irdl reports , Is it possible that, i build project and give only exe and database file only (not given report files) to my client ? ...
I would like to loop through two lists using a For each loop. dim data as list(of pointpairlist) For each recLine in records For Each chan In recLine.channels and d in data d.add( func(chan) ) Next next note: each record line has one sample from each channel recorded. ie each record line is a slice of a 32 sensor recordi...
In perl you can write $string =~ tr/[a,e,i,o,u,y]/[A,E,I,O,U,Y]/; for example. Is it possible to achieve the same "translation" effects with VB.Net regexes? Thanks you! PS: I'm not searching for a way to port this very example, it's more of a curiosity question :) ...
Is there a .net namespace or similar/simpler way to get text from windows and child classes (controls) other than using a Win32 API messages? I think there is a way to get the handle of the active window in .net without WinAPI. Anyone know what namespace/class does that? ...
(Edit: to clarify, my main goal is concurrency, but not necessarily for multi-core machines) I'm fairly new to all concepts on concurrency, but I figured out I needed to have parallel drawing routines, for a number of reasons: I wanted to draw different portions of a graphic separatedly (background refreshed less often than foreground...
Hello, So I have this VB.Net Application. It uses SQL Server database, for which it "hard-codes" the IP Address of the database inside its compiled code. The server IP has changed and I can't start the software anymore. Also, I can't change the IP Address of the server (another server is using the same IP and it can't be changed). It ...
Hi! I am writing an app and I was wondering how could you add something to the windows context-menu (when you right click on the windows exspor) like in 7Zip or winRAR to preform certain actions i.e. encrypt file\zip file; in vb.net, or perhaps is there a way in the windows installer template? I don't really want to use the shell method...
I am running a index search on a string in a rich textbox, i have a list of keywords which need to be a different color in this textbox. how do i run a search on a string in vb2005 and get a list of indexes where the text matched my search? ...
I'm trying to read a binary file 2 characters at a time and see if it equals a value. I can not assign a value to the variable I want it to compare to the read value. For example, I want it to stop at the hex value 0x1188, so I'm doing: Dim fs As FileStream = New FileStream(filepath, FileMode.Open) Dim r As BinaryReader = New BinaryRe...
Hi, I have a winform app that is writing to console and it seems to work well. I'm using this code: AttachConsole(-1) Console.Out.WriteLine("Hellow world") FreeConsole() The question is: If I run the app's exe file from command line, and try to redirect the output into a file. It doesn't work. For example: C:\ > myapp.exe > c:\out...
Is it possible to extend primitive types such as System.String and System.Int32 (IE: integer) in .Net 4 and if so how? To be more specific, I am aware of the concept of partial classes but this doesnt seem to be the answer. Also I find that System.String is not inheritable and Int32 is a structure. Lastly I am interested in knowing bot...
I have a generic method where I want to do something special for Strings. I've found DirectCast(DirectCast(value, Object), String) to get the String value (when I've already confirmed GetType(T) Is GetType(String)) and DirectCast(DirectCast(newvalue, Object), T) as mentioned in a number of answers to similar questions works. But is the...
Hey All, I was just wondering if anybody else has had the same problem as me. I am trying to send emails from a simple form using ASP.NET (VB/C# I don't really care), and what does my head in severely is the fact that it seems so much harder to send an email using ASP.NET than it is in WinForms! In WinForms, I can write some code to s...
I've got a class with the following properties which I'd like to display on a Microsoft Report: Class: Sales Property Type DateOfSale DateTime TellerName String Purchase List(Of Purchases) The definition of the Purchases class is as follows: Class: Purchases Property Type Item String Quantity Integer UnitCos...
How do I utilize a user control from Application B within Application A? Application A is a VB.NET App Application B is a C# app. This code attempts to register the control for usage in an aspx file: <%@ Register TagPrefix="uc1" TagName="Pager" Src="../ApplicationB/Controls/PagingControl.ascx" %> I get the following error: Parser ...
I have developed a paging control that I would like to use in a variety of applications, both C# and VB.NET. I'd like to package the entire thing, markup and all, into a DLL which I can add as a reference from my other applications' bin folders. If this is not possible, or is a very bad idea, what is the recommended method for deployi...
the code i have that interacts with e.graphics is 'clear area e.Graphics.FillRectangle(Brushes.Black, 0, 0, 600, 800) 'draw sand For Each i In world e.Graphics.FillRectangle(i.getcolor, i.getx, i.gety, 1, 1) Next here are the variable areas of my two classes, along with their new functions; assume that the get lines do what you th...
How would I convert this to C# from VB.net. I tried the online converters but I got errors when I put it in my project. Dim regexinfo As String = String.Empty Dim p = "\[news\](?<info>.*?)\[/news\]" Dim Matches = Regex.Matches(response, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline) If Matches IsNot Nothing AndAlso Matches.Count...
Hello Every one, Good morning. I have to access the active x dll which is installed on my system from VB.net. I added as reference and followed all the steps as given in I have declared private mycomponent as activexcomponent.libclass and i gave constructor for this i.e. creating the object for this class in the constructor of the ma...
Possible Duplicates: Windows service Get current date everyday for a Windows service Hi All....I wrote one windows serviec which is running in every 1 min...But i wrote a function inside that which need to execute only at ceratin time only once in a day..now i have hardcoded a date & time but how i will write code to execute...