cheesenhomer's Q&A profile
Connected Services Framework HelloWorld sample - Different approach
Hi, The HelloWorld sample which is given by part of CSF 3.0 Dev edition is totally different from how the document explains. In Helloworld Sample, To get response from Session, ISessionManagerAdminResponse has been used. But documentation recommends, derive from CsfService and use SessionActions.SessionActiveNotification and SessionActions.SessionTerminatingNotification. Could you please let me know is there any specific reason to use ISessionManagerAdminResponse and which approach is best one Rgs Vasu Hello Vaasu, ISessionManagerAdminResponse contains method signature for accepting responses only from the SessionManagerAdmin service. So you need to define [Operation.. ] attribu ...Show All
.NET Development How to verify if an email was sent or not ? Net framework 1.1
Hello , how can I Know if an email was sent or if there is an error in the smtp server with the Net Framework 1.1 Namespace System.Web I am Using the System.Web.Mail.SmtpMail.Send(MaiMessage) method but it does not return anything telling me if the message was sent or Not . Also a note : I am using this namespace from a windows application . Thanks in advance for your replies well I guess it depends on the SMTP Server some SMTP Servers allow checking of an email address with a special command some dont but will accept any email address and send the email to them, if any errors itll handle itself some also bounce back emails if the email address is not valid. ...Show All
Visual Studio Express Editions libcimtd.lib not found
I have managed to compile an earlier WTL based program built under VC6 to compile with Express but I have got the following linker errors. LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" ( 0bad_cast@std@@QAE@PBD@Z) already defined in TestConfig.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" ( 0bad_cast@std@@QAE@ABV01@@Z) already defined in TestConfig.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::bad_cast::~bad_cast(void)" ( 1bad_cast@std@@UAE@XZ) already defined in TestConfig.obj LINK : fatal error LNK1104: cannot open file 'libcim ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why does my displayed mesh dim when rotating on an LCD TV?
Hi; I'm currently doing my programming on a 37 inch Sharp Aquos TV. My game is loading a moderately large mesh (64x64 triangles) and displaying it on screen in wire-frame mode. The strange thing is, when I rotate the mesh .....the mesh dims! At a rough guess, it's only 50% of the brightness it's displayed at when not being rotated. Because I run my apps at full speed for performance testing (about 459 FPS currently) at first I suspected that as I had synchronise with vertical retrace turned off, parts of the mesh were not being drawn in intermittent frames, therefore resulting in the overall apparent dimming. But when I set this.isfixedtimestep to true and turned on synchronise with vertical retrace ... the same thing happens! AT 60FPS ...Show All
SQL Server Cluster Mirroring
I've read a lot of the information about this topic in MSDN. My boss askme to understand and to let working an example application of Cluster Mirroring. The problem is that i dont understand well yet what is a Cluster and what is the main idea behind it. If someone really understand and can explain me clearly whats behind it, i will be very grateful. Thanks a lot for the help. ( Sorry for me english :( ) Ok, Basically a cluster is a two-headed monster. Chop one of it's heads off and nothing will happen, it will still carry on chasing you. In computer terms, the simplest cluster is a two-node cluster (two headed monster) , two physical computers sharing the same name and IP address. If one of the computers making up the cluster ...Show All
SQL Server Add parameter to "navigation" url
Add parameter to "navigation" url - Hello, I'm trying to add a parameter to my JUMP TO URL but it doesn't work. basiclly i'm useing javascript there: javascript:window.open('http:www.a.com num=XXX'); i want to change the XXX with a value from the dataset. I tried - javascript:window.open('http:www.a.com num= + Fields!ME.Value '); or - javascript:window.open('http:www.a.com num= & Fields!ME.Value '); it didn't worked :( any help Hi ! I'm struggling with getting this to work. In my "Jump to URL" I've got this expression (following your example) =window.open('http://lsd.catchcom.com/sok/service_info.php item_id=" & Fields!CATCHREF.Value & "'),_top" De ...Show All
Visual C# How to assign a shortcut key to a Macro?
for example I generated a Macro and I want that it will be played by pressing Alt+U, how can I do that thanks, Uri ...Show All
Visual Studio Local Report Processing Failed on printing
We have installed our app on a new machine. When a report is generated, screen view is fine. However when trying to print the report with a direct printing class, we receive a report processing error. The printer is networked, also. Thanks. Are you using the winforms or webforms control What is the nested error message below the "processing failed" message Does previewing the report first work ...Show All
Visual Studio How to disable the Parameter prompt for Crystal Report using VB.Net
I'm having a problem whereby I can't disable the parameter prompting in VB.Net with the following codes:- Dim crPDV As ParameterDiscreteValue Dim crPFD As ParameterFieldDefinitions Dim crPFL As ParameterFieldDefinition Dim crPV As ParameterValues crPFD = CR.DataDefinition.ParameterFields crPFL = crPFD.Item("paramterName") crPV = crPFL.CurrentValues crPDV = New CrystalDecisions.Shared.ParameterDiscreteValue crPDV.Value = valueToPass crPV.Add(crPDV) crPFL.ApplyCurrentValues(crPV) CrystalReportViewer1.ReportSource = Application.StartupPath & "\TheReport.rpt" CrystalReportViewer1.Show() Any error with the above codes OR do i need to add any additional code(s) that able for me to pass the parameter value direc ...Show All
Windows Forms Printing from DataGridView
Hi There, I have a simple Windows Application which has one TabControl having 6 TabPages. Each TabPages has 3 DataGridView. I want to print the content of thrdr DataGridViews. For that I would like to create a button in each TabPage. By clicking that button, contents of all there DataGridView in that TabPage shold be printed out. Let me know if anyone has any idea or sample code. Thanking in you advance for your help. Nasir ...Show All
Visual FoxPro auto increment
I have a table that I want to add a auto increment integer field. I go into the database designer, Right click on the table I want to add the field to then select modify. Then I insert a field and give it the name client_id set the type to Integer (autoinc) it defaults to a width of 4. Then I tell it to index it accending. This works but on all the existing records it sets the field to 0. If I add a new record it does increment. Thank You thanks for your reply but i am doing a new database in which i want the "idfield" whereby the number automatically increases thanks ...Show All
Windows Live Developer Forums Getting the tic tac toe example
Where do I get the entire Tic Tac Toe example mentioned in the SDK TIA Here it is, I zipped my messengerActivitySDK directory for you (excluding all my brilliant activity's of course ). I'm sure I downloaded it once from a microsoft site including the sample, but I think they changed it over time. I think I downloaded it about a year ago... ...Show All
Visual Studio Tools for Office Help need with Infopath 2003 toolkit for Visual Studio 2003
Hi i am using infopath 2003 toolkit for visual studio .NET 2003 and i am programming on that, but i m new to this application so no where i get any sample simple applications like how to hide menus and how to add menus and how to bringing up dialig.... can u please guys give me the path where can i get samples with programming with infopath solutions in .NET 2003 Thanks & Regards There's lots of content created by the InfoPath team. Start here: http://www.msdn.com/infopath ...Show All
Software Development for Windows Vista Can i get access of RuleEngine without workflow ?
Hello Every body In my application i have schenerio like this. 1. A user (actually user in this case is admin or domain expert). will configure its UI , means he will select 'column1' column of 'table1' will be of type 'type1' and will follow rules 'rule1' , 'rule2' and 'rule3'. in this way he will prepare his presentation layer, (as he is itself uploading data)now in this case there will be some implecit rules applied , and some will be applied by user. say id field of table is implicitely sey to number, but can be set to alphnumeric by user (its a rule applied to that column, that must be executed before data insert) so my question is what would be best choice of technology , WF with Rule engine, or just RuleEngine , ...Show All
SQL Server Document map pane refreshing ENTIRE page!
I am using the ReportViewer control with SRS2005. I have an extremely large report (243 pages) - however. It takes an extremely long time to load the report as well as populate the document map pane. When one clicks a link in the document map pane, it refreshes the entire page - and thus causes the report to take another 2-3min to repopulate the document map. However, if I were to access the Report Server directly, clicking a link only causes the main content page to be refreshed. This is a substantial difference between selectively refreshing as opposed to refreshing the ENTIRE page and hence taking 2-3min between links. I am defining the report as: <rsweb:ReportViewer ID="rvMain" runat="server" Async ...Show All
