Software Development Network Logo
  • Microsoft ISV
  • Audio and Video
  • Visual FoxPro
  • Visual C#
  • .NET Development
  • Visual C++
  • Smart Devicet
  • Visual Basic
  • Visual Studio
  • Windows Forms
  • Windows Vista
  • VS Team System
  • IE Development
  • Game Technologies
  • SharePoint Products

Software Development Network >> progames25's Q&A profile

progames25

Member List

Chanis
Maeestro
JimTan
Eric Harmon
Sicundercover
Cilieborg
Frame
bslim
phoenix_13
buladbanaw
Siggy01
JGP
Deejjaayy
Mattj1990
Lawrence 007
eran
RostaB
meho
sweetCoder
David N.4117
Only Title

progames25's Q&A profile

  • Visual Studio 2008 (Pre-release) Message and Trace logging rollover

    I'm interested in using the message and trace logging functionality built into the WCF framework. Does anyone know how to configure it so the log file can rollover on a daily basis in a way similar to logging on an IIS web site Tracing in WCF is built upon the trace listening facilities in System.Diagnostics; there are a couple of rolling file trace listeners available on the web that could be used for your intended purpose. Here is one example: http://bloggingabout.net/blogs/erwyn/articles/rolling_file_trace_listener.aspx . Dave ...Show All

  • SQL Server Sum issue on table footers

    I am having a big issue trying to resolve this problem. Hope to layout it out well enough to understand. I have a dataset like this. Name Sales$ Quota Month ----------------------------------------------- John Doe 10 10 1/1/2006 John Doe 20 10 1/1/2006 John Doe 15 10 1/1/2006 John Doe 18 10 1/1/2006 ----------------------------------------------- Jane Doe 12 5 1/1/2006 Jane Doe 6 5 1/1/2006 ----------------------------------------------- Jack Black 18 15 1/1/2006 Jack Black 22 15 1/1/2006 Jack Black 14 15 1/1/2006 ----------------------------------------------- The issue I am having is quota is truely only the one value, not a sum of the ...Show All

  • Visual Studio Express Editions delay loop / wait / timer

    I need to make a sub containing a delay loop, or the old wait command. basical to pause the app while a function is completing. some things I am trying out take a while to complete, a second or 2, and the app moves on changing forms etc before its done. I have been looking over the microsfts timer pages and I cant seem to get the knack of it. I wish they would fix all those broken links to examples and more indepth help files :( I dont want to stop the whole app, so sleep would not work. I at least it appears sleep would stop all the app functions. I cant find an samples on the forum/web except old vb 4 or 5 or VBA stuff. any help appreciated. a link to a tutorial etc or advise on best way to handle paus ...Show All

  • Visual Studio VS2005 SP1

    hi to all, I've installed on my desk VS2005 Pro and the SP1 Beta. now that SP1 was finally release, i tried to install but it tell me that my VS2005 version isn't right to apply SP1. I think it's depend from SP1 beta installed, so tried to remove but SP1 beta uninstall required VS2005 DVD and I have not the DVD because I installed it from the ISO downloaded from MSDN. is there any way to uninstall SP1 beta wthout the DVD or is there any way to install SP1 over the SP1 beta thanks You can uninstall the VS2005 SP1 Beta in the Add/Remove programs utility in XP. Just make sure you've checked the "Show Updates" box. By uninstalling that and the Web Applications Project, the installation worked fine. ...Show All

  • Visual C++ ctime/time.h

    Hi, I'm new to C++, but am writing my current project in C++ using VS2005. I want to use the POSIX clock_gettime function, like this: #include "time.h" void foo( void ) { timespec curr_time; clock_gettime(CLOCK_REALTIME, &curr_time); } This fails, not recognizing timespec, or clock_gettime, or CLOCK_REALTIME, even though the same code will compile fine using another development tool/compiler. As an alternative I tried: #include "time.h" void foo( void ) { time_t = time(NULL); } but this produced a linker error. How is it possible that gettin the current time is this hard If someone can help me I would really appreciate it. The POSIX option is my top choice and the time_ ...Show All

  • Windows Search Technologies ADM File for WDS 3.01 not Working

    Hi, I have run the installer, copied the extracted folder and located the desktopsearch30.adm file. When I import this into GPMT I cannot locate any of the settings within the User Configuration area. I was expecting it to be User Configuration\Adminstrative Templates\Windows Desktop Search or similar. I have imported the MSN Search Toolbar ADM without any problems and straight away the settings were viewable. Am I missing something, has anybody seen this before Regards Ben I have worked out how to exclude certain paths via GPO. The problem wasn't so much that the template wasn't there for excluding paths, but what the syntax should be. Anyhow, just been fiddling for an hour and got these keys in ...Show All

  • Visual Basic BindingSource AddNew Contraint BUG?

    This is my problem. I have a table in Access "ASV Letter" in which the field "Number" is the primary key. I connect to that DataBase with a DataSet. I have a button to add a letter. It opens a DialogForm where the user types the values of the new field. If he tries a value that was already used, it trips an error as expected. But.... If he gives a new letter and immediately after try again with the same number, no exception at all are raised! If he clicks the button again, the addNew method fires an exception (dbNull not allowed in the field). I really cannot uderstand why. Any one could help EndEdit() just ends the current edit operation on the current row in the binding source.  This e ...Show All

  • Connected Services Framework RDF - Profile Manager

    Hi, I heard that CSF 3.0 uses RDF to store user profile file rather than Active Directory. Actually what is RDF Physically where it'll be stored Could anyone explain me. Rgs Vasu Hi Bala, Can we able get some samples for defining RDF Schemas to the requirement of stroing user details like First Name, Last Name, Address 1, Address 2 etc. It would be great if you provide us with some information about the SPARQL (Query language for RDF). I could able to get some information about this in http://www.w3.org/TR/rdf-sparql-query/  but when I tried to use same SELECT Query with the CSF Profile store we are getting the exception that "SELECT" keyword is not defined with CSF schema. I even tri ...Show All

  • Windows Forms Activex .ocx to .NET

    Error message 80040154 Eror Code::-2147221164 =================================================== {"Retrieving the COM class factory for component with CLSID {BAF60A5D-DB16-459D-9734-BAB5C841ED37} failed due to the following error: 80040154."} System.Runtime.InterupServices.ComeExeption ErorCode:-2147221164 Source:"mscorlib" This exeption is called when i try to referense an ActiveX control with .ocx extension. Is it possible to use the metods of a .ocx control without having a Windows form and how I've tried with AxImp and with Visual Studio.2005, with early and late binding but it's not working. One of the exeptions I've recive is System.Runtime.InteropServices.COMException (0x8000FFFF): Cat ...Show All

  • .NET Development Using Windows Auth in SqlServer

    Hi, I have SqlServer on one of the Network machine, on which I have Windows Authentication rights available. Now when I try to build Sqlconnection it gives me an error: "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. " I have set the following attributes: persist security info=False; Trusted_Connection=yes" When I checked it somewhere I came to know that we must have SQL server and IIS Server on the same machine in order to build a sqlconnection using win auth.. Is that right or we have some other way round to achieve this Thanks in Advance Jemm, Thanks for the help but I didn't get your 3rd line Change the application domain ...Show All

  • .NET Development Appending text to a file using streamwriter

    I'm just full of questions lately as I've abandoned my lengthy Windows boycot because no one wants FORTRAN code outside of the academy anymore ;). Anyways, I can't figure out how to use the streamwriter to append text to a file in VS C++ 2005 express. It always overwrite the files and the examples of how to append text to a log file seem a bit obscure and are only given for C# and VB. Can anyone help I know I should get a better book than the one I have (Ivor Hortons Beginning VS c++ 2005, can't say I would recommend it ) and promise to next pay cycle. Thanks, Jackson Jones Hi Jackson, this should work if you need a streamwriter object to pass around. Second constructor param true is for ...Show All

  • Visual C++ UI thread dialog???

    Hi everyone, I like to write a MFC program where files will be copied from one place to another. While worker thread is copying the files, I like to show users a window with file copying (the copied files will be displayed, then the some other file operations that worker thread will be processig at a time, are also to be reported). But the thing is that I don't know what kind of class would be used to implement that reporting window and UI thread to have the program with this feature. Can you please help me with that Thanks!!! MTRECALC sample shows progress information in the satatus bar. You can create your own dialog and show progress information by any way you want - progress bar, text etc. Specificall ...Show All

  • Visual C# System.Threading.Threadstart question...

    Im not sure that this is the correct forum for this but it was the closest that I could find for this particular question. I apologize in advance if this is a newbie question. Im still getting my feet wet in the .Net environment. I wrote a windows service today ( a particularly easy task now with VS 2005 ) and I used a thread to do the work in the service. things work fine when the method that I use in the ThreadStart creation doesnt take any paramaters, but I couldnt figure a way to use a method that takes a paramater. I tried aThread = new Thread ( new ThreadStart (<class> .method(arg))); aThread = new Thread ( new ThreadStart (<class> .method)); But both of those lines would give me compiler errors. I c ...Show All

  • SharePoint Products and Technologies how to quote content

    I am new to moss. I encounter a problem: Say i have an Calendar in my site. And I want to quote the Calendar in another page. How to do Any suggestion I believe you can share calendars across site collections using the RSS feed from the calendar. I.e. you should copy the URL of the RSS feed (of the calendar) and paste it into an RSS Viewer Web Part on the site where you want to show the calendar data. ...Show All

  • SQL Server SQL Server 2005 Failovery from only Mirror DB

    Hi Everyone; I have a SQL Server 2005 DB server (SRV1) and a mirror DB server (SRV2) without witness server. I saw that there is a "Failover" button on Mirror window of SRV1. When click it servers changes roles. My question is that: If my mirrored DB server crashs and I can not open windows or if I lost all data on SRV1, how can I failover from only mirror DB (SRV2) Thanks in advance. Senol Akbulak I'm not sure I follow your question - but I'm assuming you want to failover using T-SQL You can "alter database <dbname> set partner failover". Regards, Matt Hollingsworth Sr. Program Manager Microsoft SQL Server ...Show All

©2008 Software Development Network