Vayse_Dev's Q&A profile
Visual Studio Tools for Office Still in need for help...
Hi, I've tried everything: I tried to uninstall the AVG antivirus, then I tried to reinstall Office...to no attempt! Nothing works anymore! But I believe I've found the error...instead of starting within VSTO, I've made a simple form containing all the buttons that my plugin had got, assigning the same methods it got...and I tried to start it, in order to test the single function... But even this doesn't work, because I receive a FileNotFoundException when I try to create my controller which the plugin used to query in order to get the methods...the message is: Retrieving the COM class factory for the component with CLSID {..} failed due to the following error: 8007007e. So, it's possible that the antivirus has messed up something within C ...Show All
Visual C++ mouse_event sendinput
Hi good day to all. Can someone post me a simple code that uses mouse_event and sendinput Thanks in advanced! I would really appreciate it. See this FAQ: How can I emulate mouse events in an application ...Show All
SQL Server SSIS OLE DB Command Error
I have written a stored procedure that accepts 33 parameters. I am trying to execute the stored procedure from a SSIS OLE DB Command task. The code I am putting into the "SqlCommand" property is "Exec dbo.CO_PROD_UPDATE , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , error at Perform Updates [Update Production [125]]: an OLE DB error has occurred. error code: 0x800004005, an OLE DB record is available.... "syntax error, permission violation or other nonspecific error. " I am pretty sure my syntax is correct, and I can execute, edit, and drop stored procedures, so I don't think it is a permissions issue. Craig ...Show All
Visual C# how to add a " at the begining and the end of a string variable
Let s say I have a string variable called targ if the value of targ is: d:\Program Files\Common Files I need to produce this in code: " d:\Program Files\Common Files " So I want a string variable with quotations appended to it I tried this but nio luck: string targ = "" + targ + ""; Any help pls Thanks ...Show All
Visual Studio Express Editions Problem with debug
I was wondering, when i'm writing my program in vbee ill make changes in my application and save the project (using save all) then i'll hit f5 and the changes i made do not show up on my application.. however in my vb window all the changes are still there.. So i have all the labels and buttons i've made in the visual basic program but when i run my program none of the changes are saved. nah that didnt work.. i realized that after the first initial debug.. any changes after that will not be saved.. many of my colleagues at school are having the same problem.. however some are not having this problem and we're all in the same room in an isolated environment.. all on the same network. ...Show All
Visual Basic ContextSwitchDeadlock error. ??
Hi everyone, I’m stuck with that and spite of I can follow developing it’s a nuisance. When I’m debugging my VB25k console application without pitfalls by using F11 key, suddenly (ramdomly) I obtain an error: Se detecto ContextSwitchDeadlock Message: El CLR no ha podido realizar la transicion del contexto COM 0x1b1880 al contexto COM 0x1b19f0 durante 60 segundos. Es probable que el subproceso que contiene el contexto o apartamento de destino este en espera sin proporcionar mensajes o que procese una operacion de ejecucion muy larga que no proporcione mensajes Windows. Normalmente, esta situacion tiene un impacto negativo en el rendimiento y puede hacer que la aplicacion no responda o que acumule continuamen ...Show All
SQL Server webcasts or any live casts for free on Integration services
I would i to know links to any live webcasts for free online. sureshv wrote: I would i to know links to any live webcasts for free online. All here: http://www.microsoft.com/events/series/sqlserverbi.mspx -Jamie ...Show All
Visual Basic Question on DataGridView Data
Pardon me for posting twice in quick succession, but I've always found that if I post two questions in a thread, only one gets any attention. I've got a DataGridView where each line displays information from a class called 'Flag', which has a number of variables. One of these variables is a URL for a page that the particular 'Flag' pertains to. But rather than displaying the URL in a column, I'd like to display a clickable link that just says "Video" and, when clicked, opens a new window with the URL. How can this be done The only things I'm familiar with on DataGridViews are .DataPropertyName and .Name, so I don't have any idea how to set all the text for a column to one text value, or how to handle the click event of each ...Show All
.NET Development PropertyInfo.GetValue() on an object {string}
Hi to all, I try the following piece of code. object val = pi.GetValue(obj, null);->here throws TargetParameterCountException obj is an istance of object that contains a string, with Quick Watch I see: value : "attribute" and type: "object {string}" Can someone help me Thank you in advance for your answers. I try to be more precise: in the example of above, pi is a PropertyInfo with value: {Char Chars [Int32]} and Type: System.Reflection.PropertyInfo {System.Reflection.RuntimePropertyInfo} this code serves to me to serialize a string object, very thanks to who answers to me. Bye. ...Show All
.NET Development Strongly-typed dataset, primary key generated from tableAdapter.Update(ds) not passed to FK of related table
I have created a strongly typed dataset (CustomerDataset) with, for this scenario, 4 tables: Customer (CustomerID is PK) Account (AccountID is PK, CustomerID is FK) Invoice (InvoiceID is PK, AccountID is FK) AccountTransaction (AccountTransactionID is PK, InvoiceID is FK) Given that I am going to create a new Invoice row, consisting of all AccountTransaction rows that up until now had a null InvoiceID (i.e. transactions not yet invoiced). To create a new Invoice row, I write the following code: <code> CustomerDataset.InvoicesRow invoice = null; foreach (CustomerDataset.AccountsRow account in customer.GetAccountsRows()) { // create a new invoice invoice = CustomerDataset.Invoices.NewInvoicesRow(); invoice.Account ...Show All
Visual C++ MSBuild running from Local System
Hi I've been executing msbuild.exe from the NT_AUTHORITY\SYSTEM account to build VS 2005 C# projects and the builds have been working as expected. Recently, I attempted the same for a VS 2004 C++ project and the build failed with the following error. fatal error C1902: Program database manager mismatch; please check your installation Is this a bug with msbuild or am I doing something wrong Thanks Error should be fixed with VS 2005 SP1. Tested: The error in mspdbsrv is still in VS 2005 SP1 not fixed. The error will occur less often - but when starting cl.exe in a service (e.g remote login, run as) the bug will still occur. I don't understand, why .obj file could be generated by cl.exe, but .pdb files ne ...Show All
.NET Development Unable to send email in .net 1.1 using this code ??????
hi masters, i am first time trying to send email via my application, i am using .net2003. i found a code are as follows.. using System.Web.Mail; // Create the email message MailMessage msg = new MailMessage(); // Set basic properties msg.From = " myself@example.com "; msg.To = " someoneelse@example.com "; msg.Subject = "Testing .NET Email"; msg.Body = "This is a test."; // Add an attachment (as many as needed) msg.Attachments.Add(new MailAttachment("c:\\winnt\\media\\ding.wav")); //Specify the outgoing SMTP mail server SmtpMail.SmtpServer="localhost"; //Send it off SmtpMail.Send(msg); But i am unable to fined the namespaces System.Web.Mai ...Show All
Visual C++ Disk Serial Number
I am looking for a way to get disk (hardware) serial number from the Visual C. I tried to call to DeviceIoControll with IOCTL_DISK_GET_DRIVE_LAYOUT In the DRIVE_LAYOUT_INFORMATION structure I use field Signature. Whether this value is unique Is it changed after format What is this field Not enough information about this field in MSDN. Thanks For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Basic Custom Event [ASP.NET VB.NET 1.1]
I'm trying to write a custom event but am having some difficulty doing so. My problem is that I have the event declared and raised but I am having problems figuring out how to write the event handler. For some reason I can't do "Private Sub SomeName Handles EventName" in the Visual Studio IDE. Here's my code that I have so far. ----------------------------------- Imports System.Data.SqlClient Public Class Common Private _command As SqlClient.SqlCommand Private _connection As SqlClient.SqlConnection Private Event NullResult() Public Enum Completed No Yes End Enum Private Property SQLCommand() As SqlClient.SqlCommand Get Return _command End Get Set(ByVal Value As SqlClient.SqlCom ...Show All
Visual C# Where should I store passwords?
Where should I store confidential data, like passwords Is it safe to use user's 'Properties.Settings' Where these settings reside physicaly in the computer and in which format Is it possible to view them somehow not through my application but through the windows interface Problem is that I would like to hide certain data even from the user of the application. If I alow him to encript file he will be also able to decript it... Regarding the registry I am also not sure a) that it is safe enough and b) it is not good idea to put a lot of data in the registry. ...Show All
