Software Development Network Logo
  • SQL Server
  • Smart Device
  • Visual FoxPro
  • VS Team System
  • Visual Studio
  • Windows Live
  • VS Express Editions
  • Visual Basic
  • .NET Development
  • Microsoft ISV
  • Architecture
  • Visual C#
  • Windows Forms
  • Visual C++
  • Windows Vista

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

Japheth

Member List

Siva.M
Mars_Ram
lprigmore
Anupam_misra
Los Calibra
Moustafa Arafa
Ani_akav
Jeff Pages
Dcopus
jojo the dogface boy
farproc2000
larange
Thomas Moore
Ian Cross
Dean Massey
HobbyCoder
kaarde
Ishtiaque Hussain
fzuniga
40th Floor
Only Title

Japheth's Q&A profile

  • Visual C++ template extremly implicit instantiation

    MS VC 7.1++ Here is the code, that using typeof implementation by Bill Gibbons ( http://www.accu-usa.org/2000-05-Main.html  ): [code] #include <ostream> using namespace std; //for typeof template<int N> struct typeof_c; // No definition, only specializations /**/ #define REGISTER_TYPE(N,T) \     template<> struct typeof_c<N> { typedef T RET; }; \   typedef char CharArrayOf ## N ## [ ## N ## ]; \   typedef CharArrayOf ## N *PtrCharArrayOf ## N ## ; \   PtrCharArrayOf ## N typeof_f( T ); \ /**/ #define register_type( n, type ) REGISTER_TYPE( n, type ) /**/ #define t ...Show All

  • .NET Development Web services middleware, guaranteed delivery - real world usage

    I am attempting to investigate as part of a project, available solutions in industry that can act as message middleware applications to ensure guaranteed web service delivery. To explain further, a web service typically just sends requests to a server often displaying the results on a 'thin client'. When used instead of a messaging type system (e.g. MSMQ), web services can also provide an effective messaging solution. However, when connectivity is unavailable, web services fall over here as messages are not queued so delivery is not guaranteed. To get around this problem, in a solution I developed, I wrote a small middleware application that ...Show All

  • .NET Development system start-up detection

    Hi , I have an application that runs in system tray with a notify Icon. It can also be launched from an exe in desktop as well as Program menu. Whenever the system(computer) starts up, that application is automatically started( It is added to start up programs). I want to modify the existing way of start up. At system start up it s'd not show up but will only appear in the system tray. But when clicked from desktop or programs menu it s'd show up and start normally. What is the way to do it awaiting for responses... Thanks, Deb Can you please provide  a code sample or sort so that I can go ah ...Show All

  • SQL Server Need help on Combine both Avg() and Max function?

    Hi dear all, anyone can help me or guide me on how to use both avg and max function togather. or any other solution to solve my problem now i have a set of score, that is seperate into many day. so now i can get the average score for everyday. but now i also want to know which day is the highest score and min score. and sql not support max(avg(score)). so what should i do on it my table name is answer. i group it using the date colume. regards terence chua Not sure, if I understand you correctly. Perhaps something like this USE Northwind SELECT MAX(Avg_Freight) FROM (SELECT AVG(Freight) Avg_Freight FROM Orders GROUP ...Show All

  • Windows Forms Treeview AfterLabelEdit Problem

    In summary, the problem is when you add a node to the treeview and then reload the treeview in the AfterLabelEdit event.  It adds the node in 2 places, even though I am reloading the data from the database to load the treeview.  If you reload the treeview outside of the AfterLabelEdit event, the treeview loads fine. I have submitted this bug to MS and they are taking their sweet time on it.  I have also had another post concerning this issue with adding nodes to the treeview in the AfterLabelEdit event and then reloading/refreshing the tree in the AfterLabelEdit event as well. What I need is for someone else to confirm t ...Show All

  • Windows Forms Keystroke to sort datagrid

    The docs have a huge list of keystrokes for navigation and selection within a datagrid, but nothing about sorting a datagrid on a column by using the keyboard. Is clicking on the column header the only way Without customizing it, yes. check out: http://www.syncfusion.com/FAQ/WinForms/default.asp#44 Look at number 5.23 for clues to how to handle special keys. ...Show All

  • Visual Studio Team System Access Denied: User needs the UseSystem global permission

    Sorry this is a little long. I wanted to provide as much detail as possible, so someone can tell me where I am being stupid. I'm trying to set up an Active Directory group who can create Team Projects.  This would allow me to manage who can create Team Projects from one place. I am running TFS Beta3 and VS2005 RC in a dual server configuration. I created a AD group, called TFS Project Users. I added a generic user, Developer2, to this group. I created a Team Foundation Server group called Team Project Creators. This group is automatically added to the [SERVER]\Team Foundation Valid Users group when you create it. I added my AD group ...Show All

  • SQL Server How to use a checkbox for Boolean Report Parameter?

    All booleans values that I set inside the report parameters show up as true/false radio buttons on the report. Is there anyway to make these checkboxes instead of radio buttons You can convert radiobuttons to dropdown by specifying available values "true" and "false" To get checkboxes you could use String or Integer parameter instead of Boolean ...Show All

  • Windows Forms Delegate and ShowDialog

    Why dialog is not modal How I can make it modal (I have to use delegate, otherwise my calling application is blocked.) public delegate void OpenDialogDelegate(); public class MainForm : System.Windows.Forms.Form { private System.ComponentModel.IContainer components = null; private System.Windows.Forms.Button btnShow; private OpenDialogDelegate sDel; public MainForm() { InitializeComponent(); sDel = new OpenDialogDelegate(this.OpenDialogDelegateFunction); } private void btnShow_Click(object sender, System.EventArgs e) { sDel.BeginInvoke(null, null); } public void OpenDialogDelegateFunction() { Form myFor ...Show All

  • Windows Forms ClickOnce Application Update

    I have a database application that was published\deployed successfully. My question is if I create an update for my application will ClickOnce overwrite the existing database Hello Sql express files are saved to the UserDataPath now all files that you'll define as Data Files will remain untouch when updating the application. Now you must wonder how do you update your db schema, well i recommend to strat here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsse/html/EmSQLExCustApp.asp Itzik ...Show All

  • Smart Device Development Console application in 'Running Programs' control panel?

    Hi, When I create a Forms application for Compact Framework, it appears in the Settings->Memory->Running Programs control panel. However, when I create a console application, it does not. Is there a way I can 'register' my application in this way, to indicate if it is still running, and if needed, to kill it No, you can not. Your application needs to have a window for that. Consider creating another application to kill/start/pause your "service" application. ...Show All

  • Visual C++ Is it possible to modify resources in x64 file?

    If yes, how I really need to know this. Start here: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/endupdateresource.asp frame=true Ronald Laeremans Visual C++ team ...Show All

  • Windows Forms question about class attributes

    If you open the object browser and look at microsft's classes, in the lower pane of the browser it shows comments about the selected class, and then if you select a class member, it shows info about the selected member. Summaries and even argument info and return value info are shown. Also I see simiar if not identical information when intellisense pop ...Show All

  • Visual C++ Again on: How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6?

    Hi, Seems that my post on "How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6 " was lost. Here is it roughly again ================================================= I downloaded some open source c++ code from http://www.coin-or.org/ In the MS Visual C++ .NEt 2003, I set up a project (TestCLP5) with a file with  int main ( int argc, const char *argv[]) Then, On the tools\options dialog window, I added all the folders of .h files At the Projects -> VC++ Directories : Include files I added all the folders of .cpp files At the Projects -> VC++ Directories : Sources files When I try to ...Show All

  • .NET Development GZip/Deflate Issue

    I have the following functions: public static System.IO.MemoryStream DecompressToStream(System.IO.Stream SourceStream) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); SourceStream.Position = 0; using (System.IO.Compression.GZipStream _zip = new GZipStream(SourceStream, CompressionMode.Decompress, true)) { CopyStream(_zip, ms); ms.Position = 0; return ms; } } and /// <summary> /// /// </summary> /// <param name="SourceStream"></param> /// <param name="DestinationStream"></param> private static void C ...Show All

©2008 Software Development Network