D-S's Q&A profile
SQL Server Attachments and SP2
After installing SP2, all subscriptions ran fine, except that none of the emails that were sent contained the attachment of the report. Can someone help me with this problem Harold S. Delivering to a local directory worked fine. Everyone else gets the attachment. I can send a receive attachments without any problems except when they come from Report Services. Harold S. ...Show All
Visual Studio Team System "object reference" error on project load
I'm having a problem very similar to the one posted by Daniel Pratt a few days ago. Steps: --Created an sql2k project. --Imported schema. --Fixed about 270 double-quote-to-single-quote errors. --Upon having a clean project, save and close. --Reopening takes a long, long time (probably around 15-20 minutes), and then i get the object reference error. Project has a fair number of objects; about 100 ...Show All
Software Development for Windows Vista HandleExternalEventActivity -> Wrong EventArgs
I am preparing an article fo a german magazine and prepare an example of a data exchange service. The interface looks like this: using System; using System.Workflow.Activities; namespace SimpleWorkflow { [Serializable] public class HelloEventArg : ExternalDataEventArgs { private string _Name; public string Name { get { return _Name; } set { _Name = value; } ...Show All
Software Development for Windows Vista Heck of a time...
Im hoping someone could help me here... The issue is this. In my web application I am using NHibernate. When NHibernate starts up it does a lot of work mapping the objects to the database. This is a good 30 second process and takes a lot of sql server resources because a lot of this is done with reflection. This is fine in a web application because it starts up and stays up for long periods of time. I have a windows workflow that starts up from ...Show All
Visual C++ Impersonation and Access Rights
I need to enumerate network resources from my service and for this i plan to use impersonation. This is what i did. LogonUser(username) ImpersonateLoggedOnUser() // do networking stuff RevertToSelf() when i perform these operations with username = Administrator, the networking code works fine but with username = xxxx (which belong to the Administrators group), the networking code fails (GetLatError = 2). What am i doing wrong here ...Show All
Visual Studio How to tell if report viewer controls are installed at runtime?
Is there a coded way to find out if a file is installed in the GAC I cannot find a way to access the names of dlls installed. Are they stored in the registry Is there a .net call that returns true if the file is in the cache I need to know if the ReportViewer controls are installed on a machine before I call a report. If not installed then I can run ReportViewer.exe and install them. Rick http://forums.mi ...Show All
Visual Basic Does VB allow assignment of data with Row Column
In a Table, where multiple rows and columns have been defined, CounterTable.ColumnCount, is there a way to supply data (letters and numbers) to that location An apparent solution SetColumn(CounterTable, c1) only refers to controls - is this a case of vocabulary .text never seems to show up as an option. This extreme wordiness is one of the things that bugs me about VB, seems like interior decorating with military vocabulary. Public Sub ...Show All
.NET Development n-tier application (typed Dataset)
I have created an n-tier application. The client side (win forms) calls the business layer. Business layer calls the webservice and the webservice calls the data layer. The datalayer gets the data using typed datasets. In the datalayer I have created a .xsd file In this layer I can use this typed dataset to work with the dataset. For example refer to the column of the table using the typed dataset. The problem is that How can i be able to refer ...Show All
SQL Server Splitting a field with \
Hi all I have a column in the users table which has a \ separating the data: i.e. mainserver\johnsmith south\johnsmith west\johnsmith I need to create a column with the data after \ Thanks in advance And a 3rd ;-) SELECT RIGHT(SomeField,(CHARINDEX('\',REVERSE(SomeField)))-1) from #Test Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Visual Studio Error in registering crqe.dll
Hi, I did Application by using vb & crystal Report 10. I create setup by using Package & deployment Wizard in windows 2000. I run the setup file in windows xp professional, It shows the error message 1. cxlibw-1-6.dll was not found. 2. error in registering crqe.dll file. Then I changed the cxlibw-1-6.dll location from apppath to winsyspath in setup.list file . This time it shows the error message Could not register the crq ...Show All
Smart Device Development dynamically adding pictures
I have a picture box on the screen and depending on what answer the user chooses as to what picture I put into that picture box. The pictures are held in a folder named images. I am using a database to relate the picture name and the answers. I am used to doing ASP programming and havent been able to figure out how to do this on a hand held. Everything I try it fusses about invalid casting. I am wanting to go to the DB and get the image name st ...Show All
.NET Development XSLT - how do I change element name to create lightwieght xml file?
Hi, I am trying to perform a XSL transformation that, to a beginner, looks rather complex. I have found the forum article: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=122864&SiteID=1 I would like to convert an XML document to a very lightweight attribute name/value pair-this is due to the transport method that will be used, but maintaining some sort of XML structure would allow it transformed again and con ...Show All
Windows Forms VS2005 Beta 2 form designer problem: error while parsing EntityName
I can create and code 'user controls' or 'controls' directly inherited from Windows.Forms.Control. When I try to place them on a normal windows form directly from the toolbox I get the following error message:- Failed to create component 'componentname' An error occurred while parsing EntityName, Line 2, position 51 If I declare and instantiate the control directly in code it works fine. For some reason the form designer cannot d ...Show All
Microsoft ISV Community Center Forums Excel - squares appear when sending info from textbox to cell
Hi there - Hope someone can help! I have a simple database in Excel, driven by VB. I have a textbox in a form that, when updating the record, enters the info from the textbox into a cell (ie, range("a1").value=frmdata.txtnotes.text. The textbox uses multiline, and when it updates the cell, squares appear where the enter key was pressed in the textbox. It is identical with the .value property. Does anybody know how to transfer the ...Show All
Visual Basic How to reload a form?
Hello guys, I'm trying to reload a form displayed by using a simple button. The sentence I was trying to use is: Form1_load() but I'm getting this error: "Error 2 Argument not specified for parameter 'e' of 'Private Sub Form1_Load(sender As Object, e As System.EventArgs)'." Can any of you please tell me what is that argument I'm not passing or any other way to reload my form using a button Thanks sooo much for your hel ...Show All
