Help_is_forever's Q&A profile
Visual Studio Express Editions People trying to install my program get an xml file
Hi I'm building some basic programs at the moment and some people want to install it but they can't because they just get an xml in there browser. Anyone know what is causing the problem *XML code generated on the browser* < xml version="1.0" encoding="utf-8" > <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v ...Show All
Visual Studio ReportViewer control - protected memory error when printing
Hello, When me or my users try to print from the Windows Forms ReportViewer control to a specific printer (using PCL), the following error appears in the ReportViewerControl client area: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. It is only happening with the one printer of that type. The error appears after choosing the printer to print to and selecting "Print" from the dialog. The "Printng page x of <reportname>" window never appears. Does anyone know of this or a similar problem occuring elsewhere or if there are any down ...Show All
Windows Forms C# IDE vs Visual Basic IDE
Ok it's a newbie question but ... Why in Visual Basic IDE I'm able to see all events and more in combo box at the upper right corner of the code editor, but in C# I can have this Any option give the events list of something Thank ... The PropertyGrid in C# has a lightning bolt icon on it that gives you acces ...Show All
SQL Server How to get SQL Server 2000 data files location?
Hi. Is any way to get SQL Server 2000 data files location using TSQL Thank you for your answer. I have already considered this variant, but using a little other request: select top 1 filename from model..sysfiles. This is not very simple approach, becase then one must parse the path name and remove file name part at the end. Well, if it is the only way to get result, I'll use it. ...Show All
Visual C# c# to vb.net
What is going on. When c# first came out M$ was pushing users to move to that. Now I see an article that show that you can now translate c# to vb.net. http://msdn.microsoft.com/vbasic/default.aspx pull=/msdnmag/issues/06/02/PasteAs/default.aspx why does it seem like vb.net is being pushed so much more in the 2005 version. I just decided to move to c# from vb.net because of the following. 1.forced declaration of variables 2. told it was better language for businesses (reguardless that vb can do the same) 3. was told c# is more professional where vb.net was used more as hobbiest. 4. Pay is larger 5. Mor ...Show All
SQL Server Converting a type into another one
Hello, I've got two tables. An old one an a new one. Called "tbl_Filme" and "tbl_Filme2". The differents are that the data types are a little bit smaller as in the old one. So I've got a column wich should contains a datetime. Unfortunattley the datatype is just a normal date and not "smalldatetime" (the "tbl_Filme" was created with MS Access 2003). So I get an error message: 1> INSERT INTO tbl_Filme2 (Titel, Genre, Medium, Anzahl, Qualitat, Filmlange) 2> SELECT Titel, Genre, Medium, Anzahl, Qualitat, Filmlange 3> FROM tbl_Filme 4> go Meldung '298', Ebene '16', Status '1', Server ' ...Show All
Visual Studio Express Editions sql commands in visual basic express 2005
hi im trying to use a delete command to delete data from table1 if its in table2 my command is delete table1 from table1, table2 where table1.test = table2.test please help i keep getting delete is not declared so i tryed this Dim delete As New SqlCommand() delete table1 from table1, table2 where table1.test = table2.test now i get delete isnt an expression please help willing to change anything to get this to work Imports System.Data.SqlClient Public Class Form2 Private Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim strCnn As String = "C:\Documen ...Show All
.NET Development LogonUser failure - 1314 : ERROR_PRIVILEGE_NOT_HELD
using System.Runtime.InteropServices; using System.Security.Permissions; using System.Security.Principal; using System.DirectoryServices; private const int LOGON32_LOGON_INTERACTIVE = 2; private const int LOGON32_PROVIDER_DEFAULT = 0; [DllImport("advapi32.dll", CharSet=CharSet.Auto, SetLastError = true)] public static extern bool LogonUser(string lpszUserName, string lpszDomain, string lpszPassword, int dwLogonType , int dwLogonProvider,ref IntPtr phToken); [DllImport("kernel32.dll", SetLastError = true)] static extern bool CloseHandle(IntPtr handle); & ...Show All
Visual Basic Exception Error
I have a process that uses the Control.InvokeRequired Property. During testing, I have discovered that when the FORM that the process is running on is re-sized or moved around on the screen, I receive an exception error. I am assuming that I need to invoke a new thread to resize of move the FORM, but that does not sound feasible. Any ideas I am not familiar with the term "addler handler declaration". Please explain. ...Show All
Visual FoxPro _screen.ContinuousScroll problem
I noticed this problem just this morning after spending many hundred hours debugging my app for the past few months when everything worked just fine. This is the setup which is hardly unusual. There is a function in a prg file and a Click method that calls it. There are a couple of print statements like: "coimng out of the function: "+numeric_id and such in the function(s) and one in the Click method. All output is character strings. The button is clicked many times during the debug. I get only one line of output out of the function but the rest of it is overlapping this first line no matter where it is coming from. The ...Show All
Visual Studio Visual Studio 6.0 on Win XP
I have just purchased a new computer. It uses Windows XP Media. I need to have Visual Basic installed. I have a copy of Visual Studio 6.0 that I never used before. When I run the setup program I receive an error stating that it can not be installed. But under programs, I can see the following components under Visual Studio 6.0: Microsoft Visuao Studio 6.0 Tools Microsoft Visual Basic 6.0 Microsoft Visual C++ 6.0 Microsoft Visual Foxpro 6.0 Microsoft Visual Interdev 6.0 It looks like Visual Basic is working. If I select the About Box shows Visual Basic 6.0 (SP 5). Will this copy of Visual Basic work correctly u ...Show All
Visual Basic how can i detect a new Email Is coming in Vb.NET
Dear sir/Madam how can i detect a new Email Is coming in Vb.NET. it was easy to do it in vb6 using ole automation: dim withevents oApp as outlook.application set oApp = new outlook.application Private Sub oApp_NewMail() msgbox "New Email" end sub With Regards Shahin Mohahaghegh it's not that much different. As long as you have your reference set. And appropriate Imports. Imports Microsoft.Office.interop dim withevents oApp as outlook.application change to : Private withevents oApp as New Outlook.application Lose this line : set oApp = new outlo ...Show All
SQL Server multiple instances
Does SQL Server express support running multiple instances of database http://msdn2.microsoft.com/en-US/library/ms165614(SQL.90).aspx Yes. ...Show All
Windows Forms Binding a combo box to a data set
Hi, I am trying to just list some columns in my dataset by binding it to a combo box in windows form application. I can easily do that in a web application. But really doesn't seem to work as a windows form application. Label1 and label3 lists the values in my dataset. But label2 displays it as a DataRowView object. Could any one p ...Show All
Visual Studio 2008 (Pre-release) serviceType information
Why is the serviceType specified to the WCF infrastructure in two places a) ServiceHost creation - constructor parameter b) An attribute of the service element in the config Am i missing something very basic here -Sendhil this is another example of declarative vs imperative... the infrastructure gives you the flexibility either to host the service declaratively, through IIS, for example, or host the service programmatically David Pallmann's book "Programming Indigo" has more on this, see http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/progindigoch3.asp ...Show All
