John Padilla's Q&A profile
.NET Development How to solve this error "The XML page cannot be displayed"
I am having the following error msg when I try to send an e-mail from the application. The problem is only on production but it is working properly on development. Any help plz! ERROR MESSAGE !!! The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. ...Show All
Visual Studio delete is not calling Mergedisconnect
Hi, I have generate double derived set to true for a class and was successfully able to override canmerge, mergeralate method. But for some reason mergeDisconnect is not getting fired when i delete that class element.The same thing happens with connector class also. Is there anything additional setting that i am missing. I need to be able to take certain actions on delete that i need to override the default delete implementation. thanks MergeDisconnect is not used for deleting, it is used for reparenting (e.g. when you drag an element out of one swimlane into another). If you want to modify the delete propagation behaviour, use the delete behaviour section of the Dsl Details window. You ...Show All
Visual Studio Team System Orcas vsperfcmd on x64
Is vsperfcmd from the latest Orcas CTP (Jan 2007) supposed to work on x64 I can't get it to work. Thanks, Albert Sorry Albert, our execution on this was not the best. The beta builds we are testing now include this feature and we will value your feedback on it. Thanks, Dave Lubash - Visual Studio Team Developer ...Show All
Smart Device Development Bluetooth anyone???
Does anyone have or know of where I can obtain exaples of bluetooth communication set up in vb.net I am attempting to set up communications between a bluetooth mobile printer and a handheld device, so if the example where compatable with the compact framework I would be that much more excited. I have been looking for a while now and have hit a few dead ends (dead links) and am begining to get frustrated. I am suprised at the lack of information on the topic considering how great the technology is and how many hardware solutions are out there. I have a Toshiba (Qosmio 25) which has its own BT stack. Unfortunately, it doesn't work with my Blackberry 8700. So I uninstalled the Tosh stack, then added just the Tosh piece necessary to sta ...Show All
Visual Studio Express Editions c# reading file
Hi all, this is my first post here.. I'm new to C# and i'm trying to read a simple TXT file containing the "|" symbol: eg: test.txt *line1 0|4|true|open|6|72|24| this is my code int counter = 0; string FILELINE; // Read the file and display it line by line. System.IO.StreamReader file = new System.IO.StreamReader(@"c:\test.txt"); while ((FILELINE = file.ReadLine()) != null) { //System.Console.WriteLine(line); TAB1_listBox_file.Items.Add(FILELINE); counter++; } file.Close(); result = *line1 04trueopen67224 any idea why thanks. Hey !! It work !! i have just repl ...Show All
Visual Studio A problem with SetDataSource
Please, help! I have a report, created based on a SQL command. I pass it a datasource filtered for a specific name but crystal still shows me data for all names instead of my datasource contents. Here is my code: ..... create dataset .... Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument rptDocument.Load(ReportName) rptDocument.SetDataSource(ds.Tables(0)) rptDocument.Refresh() crw.ReportSource = rptDocument same result. Report just ignores my dataset: rptDocument.Database.Tables(0).SetDataSource(ds.Tables(0)) crw.ReportSource = rptDocument grd.DataSource = dt ...Show All
Visual Studio Tools for Office Outlook: MAPI fields versus User Properties
Hi, I want to improve an outlook addin which is using mapi fields (a lot) and this is generating abnormal behaviors in outlook, so now I'm in doubt to quit all use of mapi fields fo User Properties but I need some recomendatios or comments about using "mapi fields vs user properties" (or viceversa). Thanks, Mauricio. When you work with MAPI properties, you need to make sure you release items promptly so that you don't get conflicts between an item still held in memory and the item the user sees in the UI. It may even be necessary to force GC.Collect. ...Show All
Visual Basic Determine in which Event i'm in
Hi There, just want to know if it's possible to determine in which event i'm in... I want to create a error logging system, and in my try...catch statement, in the Catch(ex as Exception) part I want to write an error to a database table... but to make things easier, I want to record the current event, in which page i'm in, and all those stuff, just to make things easier for debugging, after the website has been launched, and any unforeseen errors that might pop up along the way... Thanks SJB The Method you are looking for is System.Reflection.MethodBase.GetCurrentMethod() public static System.Reflection.MethodBase GetCurrentMethod() Member of System.Reflection . MethodBase S ...Show All
Gadgets z-index with <object> and <g:background>
I'm nearing completion of my gadget, but I have one last feature which is stalling me. My gadget is using an ActiveX control to stream video from a webcam. Everything is working great, however I'm running into the old problem of not being able to catch onclick events on the <object> tag. My workaround so far has been to use onmouseover, which works fine, but it is less than perfect. While messing around with g:background, however, I noticed that if the z-index is higher than the z-index of the ActiveX object, I suddenly can right-click on the object and get the normal gadget context menu. Usually, that does not work. Also, the onmouseover event on the object stops firing, which leads me to believe that in some wa ...Show All
SQL Server Missing Tables in Reports
HI, I am facing the weirdest problem, i hav created a report for displaying the charts and tables with respect to the students who appeared for a test. The tables hav been given a filter property to display specific values in certain tables. The report is working fine in my system and another system in the same LAN. But i upload the report in some systems the tables do not display any values but the chart is getting diplayed. So i tired by removing the filters and the values are getting displayed.But i need the filters to display the values. PS- I have changed the conn string wen i move the report to each of these. The report is based on stored procedures and the stored procedures are working fine in all the systems. Kin ...Show All
SharePoint Products and Technologies View Sharepoint data within CRM
I currently have large WSS site that I am deploying for a client. This site is a single level site that will house hundreds of folders. These folders and files within these folders will be indexed with keywords and Titles. We are also creating an additional column called ID. This field will be a decimal number that we use to identify document type in a folder. (i.e. NDA files will be stored with 207.1 demical ID) This is so we can align Sharepoint will current business processes. We also use Microsoft CRM 3.0. Our goal is to view Sharepoint search results within CRM iFrames. We want to create iFrames within CRM that will display the Document Libraries on the WSS site. For Example: If I am using CRM and I navigate to the accounts section ...Show All
Visual Basic Embedding a Flash as background of a form!
Hi everybody, I have a MdiForm named MainForm. How can I embed a Flash as background of this form I try to embed a Flash but when the MainForm shows, the Flash hides all MainForm's children. I try setting the flash component's Z order to the backmost by use: AxShockwaveFlash1.SendToBack()-> I can't see the Flash. Is there any wrong here Can you guide me more clearly ...Show All
SQL Server security newbie
Hi, I'm building an asp.net website using web developer express and I have a SQL 2005 express install on the same machine. Using windows security, everything works fine for development. Now I need to get it working at the client site, where the web server and SQL 2005 server are on different machines. I'd tried using windows authentication but that didn't work, probably wasnt' doing it correctly. I'd like to try SQL Authentication, since I can replicate that on my laptop at home easily I think. I created a new SQL login but was really baffled by the screens showing roles and schemas, etc. I did turn on remote connections and mixed-mode authentication, the probably now is my asp.net membership provider login page isn't authenticating corre ...Show All
Visual Studio Team System Adding custom parameters in Work Item report
Hi I have added some custom fields in work item "bug" template. <FIELD name="Work Packet Number" refname="Sample.WorkPacketNumber" type="String" reportable="dimension"> </FIELD> The issue is that I wanna rum a report on some particular "work packet number". For e.g: I want to see only those work items that are in "work packet number" = 1221. How can I filter on the custom fields I was expecting that when i go to team project portal>reports>work item>properties>paramters, then i could see this new "work packet number" parameter. But it doesn't show up. Am I missing some step If not, could somebody put together the troubleshooting steps ...Show All
Software Development for Windows Vista running the winword.exe as an admin
i am running an application in which after adding manifest file to my application, to start the Microsoft word 2003, i have to run the winword.exe(under program files) as an administartor which does not seem to be feasible. what can be done so that we dont need to run the winword.exe as an admin regards, divya Hello divya mittal, Why are you running Word 2003 as Admin, I have used it as standard user without any problems thus far. Are you trying to utilize a specific feature If so what feature are you trying to use Are you adding the manifest file to the Word exe Thanks! Matthew Braun ...Show All
