Marjorie's Q&A profile
Visual Studio Express Editions Text Drawing Error! Please Help!!
When trying to run this code, i get the error: System.NullReferenceException was unhandled. My Code (Very Simple): Public Class form1 Dim paints As System.Drawing.Graphics Dim afont As New System.Drawing.Font( "Arial" , 22, FontStyle.Regular) Dim x As Integer = 10 Dim y As Integer = 10 Private Sub form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) H ...Show All
SQL Server DatabaseMail setup problems
I'm bust to setup a mail nothification system by using DatabaseMail. The setup of the database mail was ok. I'm able to send a test mail. After that I modified the SQLAgent's Alert system. I enabled the mail profile and as Mailsystem i choosed Database Mail with the mail profile the one I created in during the database mail setup. No I like to use this when a job fails or an alert is fired. So I created an operator. ...Show All
.NET Development Connect ClickOnce WinApp To SQL Server
Hi : I'm passing this problem from ClickOnce deployment and settings forum: I'v published a WinApp which using the xsd file abilities to connect sqlserver database . Installation on the client computer was successful. While first open my app. on the client machine it throw an exception s that it cannot connect to the sql server. Is there any ClickOnce solution to this problem (I don’t want t ...Show All
SQL Server Access DB2 on AS/400 using IBM OLE DB Provider
Hi, I am using the IBM OLE DB Provider (IBMDASQL) provided with Client Access (IBM) to access a DB2 database on an AS/400 (iSeries). Using an OLE DB Source in the data flow and Access Mode set to "OpenRowset" this works fine (even though I think it is quite slow). However, when I change the Access Mode to "SQL Command" my data flow fails at the OLE DB Source component - not giving me any meaningful error description (only the mysterious "... th ...Show All
SQL Server SELECT IF statement
What is the proper format for an if statement within a SELECT statement Where could I find this documentation, or an example Thank you, Aaron There is no IF Use the CASE statement like so CASE WHEN ln_acct.advance <> 'Single' THEN ln_display.orig_amt When ln_acct.advance = 'Single' and ln_display.last_ren_dt is not null &n ...Show All
Visual Studio Fail clearing directory
I fail in doing a very simple task. In the beginning of a target I would like to make sure that the output directory is empty. I do this with the below 2 lines that removes and creates the directory. < RemoveDir Directories = " $(OutputPath) " Condition = " Exists('$(OutputPath)') " /> < MakeDir Directories = " $(OutputPath) " /> In some rare cases it only removes the directory, but seems to forget to create it again. By T ...Show All
Windows Forms Another question
I notice when I look at the program files that there are some palm os files. There are pdb but no prc files. What should be done with these The PDB files contain debugging information, they are not Plam related. ...Show All
Visual Basic Disabling PInvokeStackImbalance in Visual Basic Express 2005
I have a problem on how to prevent the PInvokeStackImbalance message. How can I disable this we would need to see the code. I've seen it when I've made API calls with the Longs (ala vb6) instead integers. I think it means that the stack doesn't look like it's supposed to. ...Show All
Windows Forms XP look & feel in Visual Basic .Net 2003
I'm using Visual Studio .Net 2003 and especially Visual Basic. When i want to add buttons and other basic controls in my forms i have the old look and feel controls :System.Windows.Forms(1.0.5000.0) provided in the Compenent .NET Framework. How could i u ...Show All
.NET Development Question about AssemblyBuilder.DefineUnmanagedResource
Hi, I'm creating a .exe assembly using AssemblyBuilder. Is it posible to set the application (.exe) icon on my dynamic exe assembly I know that the .exe icon is define in unmanaged resource, therefor I think I should play with AssemblyBuilder.DefineUnmanagedResource methods but there is not enough sample using it. Anyone have experience using this method Or maybe a suggestion for another solution thanks ...Show All
.NET Development Code runs but database doesn't update
All, I'm new to ADO.NET (used to work in ADO and am really struggling with the concept!)... I've got a web form, which has a dataset and connection attached with 2 text fields that I want to use to add a new record to a table. The code runs fine, but the database does not get updated... the db is Access. Here's the code - I know I'm doing something stupidly wrong, but I can't work it out! Thanks in advance. Dim strPN As String Dim s ...Show All
Visual FoxPro REPORT error-invalid path
i have a button in a form and when its pressed it creates some select sqls which have into table and overwrite an existing table.then from the table i create report..from.. ,then i update the report and finnally i report form.the problem is that if i press the button->see the report->close the report->press again button->i get a message "invalid path or file name" if i close the program and reopen its the same press the button->se ...Show All
Visual C# VB.net- MS word
Is it possible for me to take an VB.Net application and polulate fields in MSoft Word document...I am trying to pull data from another source like a database...you know like if i have name and address on the letter, i want it to populate the name and address from the information in the database through the VB.net application...does this make sense to any of you developers Hi, You can use the Tlbexp.exe to generate a tlb file that your VB ...Show All
SQL Server Ho do I allow multiple users to share a SQL 2005 Express database?
Hello, Ho do I allow multiple users to share a database Background I have developed a Windows App in VS.NET 2005 which connects to a SQL 2005 Express database. Now I want to install the app and database on the network and I am getting an error "File 'file_name' is on a network device not supported for database files" What is the best way to get this working Thanks in advance, Phil ...Show All
SQL Server Question about service configuration on SQL Server 2005 IA 64....
While perusing Configuration Manager, I noticed on the properties for the services there is a parameter to indicate whether or not the service is running on a 64-bit operating system. If I'm running on a 64 bit Itanium server, shouldn't this be checked "Yes" I'd ask the server admin who did the install, but he is currently awol. Yes, it should be, assuming you 64bit Itanium server is running a 64bi ...Show All
