imin83's Q&A profile
.NET Development Uploading DIME attachments from client to server
Hi, Just learning about web services so I'm kind of a newbie. All of the expamples using DIME I have seen so far (both online and in a book) have been examples of downloading attachments from server to client. Can anyone point me to a good code example of using DIME to send attachments from client to server Thanks in advance for your help. -Mark hi dave I too want to use dime attachments in VS2005. can throw some light on how it can be done. thanx in advance Amit ...Show All
.NET Development get all form names.. and their tags please
I itterate through all the forms of my solution like so: Assembly asm = Assembly .GetExecutingAssembly(); ArrayList allForms = new ArrayList (); foreach ( Type t in asm.GetTypes()) { if (t.BaseType == typeof ( Form )) { allForms.Add(t.Name); } } Anyone have any idea how I would then get the Tag property for each of these Forms that are places in the allForms ArrayList Thanks. Well maybe I should just tell you what Im trying to do, and maybe you can give me a better way of doing this. I am trying to implement a Group based security for our Forms in the Application. Right now I have a table that contains all the names of the Forms, matched with a User Group th ...Show All
SQL Server Reporting Services MemoryLimit
We're having trouble with memory configuration in Reporting Services 2k5 SP1, running on Win 2k3 SP1. We have a very large report, which we've been running to benchmark performance. First, here are the results of our testing: Initially, the server had 512mb of RAM. When running the report, the w3wp.exe process used up to 400mb of RAM and Reporting Services usually timed out before delivering the report. We increased the RAM in the server to 1024mb, and found we could run the report. It took around 02'30" to complete, and the w3wp.exe process peaked at 520mb of RAM usage. When we tried to run two instances of the report concurrently, RAM usage peaked around 800mb, and Reporting Services timed out before delivering the ...Show All
Visual Studio Team System RequestFailed: Context parameter '$HIDDEN1.ctl00$Main$gfdValue' not found in test context
Hi, I am new to vsts -testers, i have created one web test but i try to run it gives me following error: "RequestFailed: Context parameter '$HIDDEN1.ctl00$Main$gfdValue' not found in test context" i have read http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/WTAuthDebug.asp but i didn't find solution.Please help I woul try to install vs sp1 beta. We fixed some hidden field recording issues that may take care of this problem. After installing the beta, you will need to resocrd your test again. you can get the beta from http://connect.microsoft.com/visualstudio ...Show All
Visual Studio Testing VSS Add-In (Newbie!!)
Hi All, I've Create a C# Test Project Add-In; however, how do I test this add in I know vssaddin.ini will be the same folder as ssapi.dll; but Where addin.dll will be Do I need to register this addin.dll Thanks so much for your help. Best Regards, Thanks for replied Brad. You are right. I'm working on vss addin from url above. I've copied dll to the same folder as ssapi.dll ProgID has been referred to ssaddin.ini; however it is not working. When I tried to register this dll I got error: "VSSEvents.dll was loaded, but the DllRegisterServer entry point was not found. This file can not be registerred." Best Regards, ...Show All
SQL Server Finding special characters: | ^ ~ & \
Hi All I need to write a query which will find any of the below characters are in any of the cells | ^ ~ & \ use northwind select * from employees where firstname like '%~%' or firstname like '%#%' or firstname like '%^%' or firstname like '%&%' or lastname like '%~%' ect...... title .... titleofcourtesy... The where clause will be massive. Is there a better way to write this script Thanks hi use this format: use northwind select * from employees where firstname like '% [ ~ ] %' or firstname like '% [ # ] %' or firstname like '% [ ^ ] %' or firstname like '% [ & ] %' or lastname like '% [ ~ ] %' for more info go to the books online good luck ...Show All
Visual Studio Express Editions Print Previewing the Form
I did some research on Print and Printpreview for my form. They did work, sort of. It printes a blank page or in the preview it says: 'Document does not contain any pages.' I tried setting the size in the CaptureScreen() to the size of the form. memoryImage = new Bitmap (684, 559, mygraphics); //this is the size of tabPage1 Any suggestions Here's the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace InvoiceReceipt { public partial class Form4InvoiceReceipt : Form { public Form4InvoiceReceipt() { InitializeComponent(); } [System.Runtime.InteropServic ...Show All
Windows Live Developer Forums Web Services
Hello guys, and gals its another day another doller, I hope. Todays question is about web services. In my gandering around the MSDN forums I keep comming accross web services. These nifty little bouts of code allow you to access a function from a webpage that is not normaly available. Thats a great thing and like the Live Search, Custom Domains and a few other's on live.com it can be really handy. Does the Live Web Messenger at http://webmessenger.msn.com/ have a web sevice My current project is going in the direction of a a stand alone web service client! By using Live ID, my client is hopeing to authenticate the user (his employees), then the user will be able to access alot of diffrent online functions which will configure the applicati ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help I can't find XNA Game Launcher on MarketPlace
Hi all, I am trying to deploy the sample spacewar on my retail xbox 360. According to the XNA documentation I need to first purchase the XNA Game Launcher from MarketPlace. Have been searching hi and low in the MarketPlace, can someone help to point me in the right direction Is it because I don't have a Gold Live membership or something else Please help. Thanks in advance. Regards, Brian It won't be available until the next release of XNA Game Studio, sometime around the Holidays. That's my understanding, anyway. ...Show All
Windows Search Technologies Problem Indexing E-mails with WDS 3.0 Beta 2
I have upgraded WDS to Product Version 6.0.5486.108 {3.0 Beta 2 for Windows XP (KB917013)}. It seems to be indexing my files and running well but none of my e-mails are included. I have Outlook 2003 (11.8010.8036) SP2. As an experiment I have installed Google Desktop Search. It has no problem picking up all the e-mail messages on my HDD in the *.pst files. WDS does not index them at all. Just to give you an idea (of the magnitude of the problem) -- Google Desktop Search identifies more than 100,000 files on my HDD when indexing is complete; WDS only finds ~ 26,000! The difference is the missing e-mails. What is the 'trick' Just to add to my confusion Windows Desktop Search is not listed when I open Settings/Control Panel/Add or Remove P ...Show All
Internet Explorer Development detect information bar?
Is it possible to detect whether or not the information bar appears in IE I want users to be able to download a file but get mixed results on different machines, sometimes the file will download but occasionally it will be blocked by the bar. I want to display additional instructions for the user if it is blocked, anyone know if it is possible to detect this Generally, no, you cannot detect the information bar from the page. You specifically cannot detect the file download information bar. To ensure the download isn't blocked, ensure that the file download is treated as a user-initiated action: specifically, ensure that the download is triggered by clicking on a link. ...Show All
SQL Server logical inserted table and after triggers
for some reason my create trigger query fails because sql server cannot resolve the term inserted. It won't even parse without errors. This is what my t-sql looks like CREATE TRIGGER UserTypeTrig ON GTData . dbo . GTUserType AFTER Insert , Update AS SET NOCOUNT ON IF EXISTS( SELECT * FROM GTData . dbo . GTUserType G JOIN INSERTED I ON G . TypeID != I . TypeID AND LOWER ( G . UserType ) = LOWER ( I . UserType ); BEGIN ; RAISERROR ( 'cannot insert duplicate userType' , 16 , 1 ) ROLLBACK TRANSACTION RETURN END ; appreciate all the help i can get. Your syntax is not correct. You are using statement terminators in the wro ...Show All
SQL Server Problem Doing SQL 2005 DB Restore
I did a full DB backup that I am trying now to restore via the SQL Server Management Studio. I select "Restore" and then "From Device" and point to the bak file that I want to restore from. I then go into the Options page and check "Overwrite the existing database". Below that, shows the Restore the database files as RB_Data_Services_MSCRM RB_Data_Services_MSCRM_Log sysft_ftcat_documentindex When I then click OK I get the following error. The Media Set has 3 Media Families but only 1 are provided. All members must be provided. Any ideas as to what I did to do to be able to complete this restore Thank Rick Bellefond Michael, I did not i ...Show All
Windows Forms Handle a textbox outside the form
Hi all, I'm new in C# and I'm still learning basic function. I'm sure this one is very simple but I can't find any help. I want to change the value of a textbox from a public class that is outside the form that contains the textbox. So, I cannot use this.textbox.text = ... I try to declare the textbox as a static variable like static System .Windows.Forms.Control Status = System .Windows .Forms .Form.ActiveForm.Controls[12]; but it is not working, Anybody has a idea Thanks in advance! Bertrand No problem: public partial class Form1 : System.Windows.Forms. Form { public string ChangeStatus { get { return Status.Text; } set { Status.Text = value ; } } } public class PSQuery ...Show All
Windows Forms AddNewItem button in BindingNavigator Flashes
Hi everyone, Here's a strange bug. I have a form with a DataGridView control and a corresponding BindingNavigator . My problem is with the AddNewItem ( + ) button. Now when I move my cursor over it instead of having it lighting up it flashes On/Off. (The button only works when I click on it when it flashes On.) I am using VB 2005 Pro. The DataGridView is bound to a DataSet containing one Table . Not complicated. Only one thing on the BindingNavigator I disabled it's AddNewItem property and I added an event handler so that when the AddNewItem is clicked it opens up another form where the user can enter the info. for the new record. Also, it doesn't do this all the time. You have to be working with the program for a while. If anyone ...Show All
