jbellan's Q&A profile
Windows Forms CodeDom & InitializeComponent
Trying to replicate the 'InitializeComponent" method of the designer for a form creator I'm building and I can't seem to get the InitializeComponent / Algorithm correct. Has anyone a link to an article or code snippet dealing specifically with replicating&nbs ...Show All
Visual Basic How do I use generics?
Public Function RectangularVolumn ( Of T As Structure )( ByVal width As T , ByVal length As T , ByVal height As T ) As T Return width * length * height End Function What do i need to do to make this work for any numeric type Considering that it is a mathematical sum, I would go with cgraus on this one. Double is your most open-ended alternative. ...Show All
Visual Basic Save Multipage compressed TIFF file
Does anyone know how to save a compressed multipage TIFF file I have a collection of images and I need to save all of the images into a single multipage TIFF file and I want it compressed with the LZW compression format. If anyone knows how to do this, please share the wealth. This is the code I am currently using. It works fine but it does not compress the image. Dim img As Image img = New Bitmap("C:\My Files\Isbell Bankruptcy Pap ...Show All
Windows Forms Application Config File is deleted when I debug.
When I compile my Windows applicaiton, the config file is deleted. I followed the same procedure to add the config files as I did in VS .Net 1.0, but in 1.1 the file is deleted when I debug. Has anyone else seen this Tha ...Show All
Visual Studio Express Editions Saving SQL Data
I have a small SQL database that I'm trying to rewrite in VB Express. It works fine when I run the program from VB 2003 in the VB Express mode. However, when I type the code into VB Express I get the following error, Incorrect Syntax near ' ' when the ExecuteNonQuery line is run. The line of code for my "Values" is as follows; ArtistDataAdapter.InsertCommand=New SQLCommand() ArtistDataAdapter.InsertCommand.CommandText= "Inse ...Show All
Visual FoxPro feature not found
This is the fourth inning. I am still struggling with an exec build. No luck so far. Now there is some help in the form of the error reporting authority of the error control. Unfortunately, for some strange reason only a small fraction of runtime errors are in the log file. I cannot understand why. But what I have seen so far is very revealing. The error message is "feature is not available" and the line in the source code is idenfi ...Show All
.NET Development WebBrowser control connects but httpRequest does not! Why is it different?
Using VB.Net I have a form, user, password, url. A multiline tex box to show html source, a web browser control to show html ( mainly to prove connection is possible.) I try to requst a page from my webserver which has basic authentication set, user Test, pwd Test. The webserver is onboard a network input output module When the browser connects a dialog pops up. i enter the credentials and click ok. The web server sends th ...Show All
Visual C# CrystalReport Export problem!
Hi, I'm using Component One's WebDataObjects and bind the dataset that is generated from C1WebDataObjects components to CrystalReport in my ASP.Net project. I want to know CrystalReport only allows to export original table in the Database What I've observed is when I bind with original , exporting works fine. But when I bind with composite tables ( something like views ) then clicking Export button in the CrystalReportViewer mak ...Show All
Windows Forms Creating a Textbox in VS with Object Automation
I have used the sample in Microsoft Visual Studio .NET Automation Sample: Windows Forms Automation Add-in : http://msdn.microsoft.com/vstudio/downloads/samples/automation.asp just to create an add-in to produce a project with one specific winform, where you can create any ...Show All
Windows Forms Using DirectX to render non-game Windows.Forms controls
I have some ideas for visualizing application data that would benefit from using DirectX and a scenegraph. I implemented an initial version in GDI+ but it just isn't going to work, its slow and requires a ton of complicated code. So I've been& ...Show All
Visual C# how can make an object of Class using reflection
HI i want to dynamically Run an Report (Active Report ).mean i have an .dll file which is have save in XML file (Namespace as well as Class name to) i want to Run that Report in my Web Form C# i need help Urgently reply me on ( ysmf_lhr@yahoo.com ) Mian Mahboob for simple creation (Parameterless constructor) TheType instance con = (TheType) Activator.CreateInstanc ...Show All
Visual Studio Datasource ReportView
Hi! I want to set a DataSource for my LocalReport. There was no error shown after compling but the ReportViewControll: "The Source of the ReportView wasn't defined" objDataAdapter = New OleDb.OleDbDataAdapter(connstring, objConnection) ds = New DataSet objDataAdapter.Fill(ds) ds.DataSetName = "Aufenthalt_ds" Me.DataGridView1.DataSource = ds.Tables(0) 'The Dataset is accurate because the Grid have Data in it. Me.ReportVi ...Show All
Software Development for Windows Vista Filtering persisted instances on state and reviewer
Hi there, I'm busy with WF and like to ask a question. For example, I've got a document. It needs to be reviewed by multiple people. First the writer needs to upload it, and review if it was uploaded correctly. Then a colleague reviews the document and approves it. Then his boss reviews it and approves it. So we have three states * ReviewOriginalAuthor * ReviewColleague * ReviewBoss But all can be done by multiple people. How do I ...Show All
SQL Server Can we encrypt a report in reporting services?
Can we encrypt a report in reporting services thanks in advance Hi Chandra, At what point do you want to encrypt the report The actual renderered report The report definition The data that makes up the report Reporting Services does not have special encryption for a renderered report. Instead, the technologies that RS uses have built in encryption. SQL Server, IIS with SSL, File shares where a repo ...Show All
Visual Studio Big image causes blank pages even after scaling it down and deleting it!
Local Report. I'm not sure what the issue is here but my problem started with print layout having too many pages - adding a blank with header and footer for each real page. I made sure that nothing was near the margins and even set the margins to .5 for each report and subreport. No good. So I searched the forum and found other complaints about this. One person said that he recreated the report and didn't have the problem after that. So I ...Show All
