Abdul Basith's Q&A profile
Visual C++ Filesystemwatch
To all, Does anyone know how Filesystemwatch is implemented in .NET I searched the open source and couldn't find the src code. I would like to monitor a file but do NOT want to load .NET framework and therefore is trying to find out how the framework implemented the logic. Thanks nativecpp wrote: I would like to monitor a file but do NOT want to load .NET framework and therefore is trying to find out how the framework implemented the logic. I wouldn't know how the .NET framework does this, but one way to monitor the fs is through filter drivers. http://www.sysinternals.com/Utilities/Filemon.html has a lot of good links on the subject, if you f ...Show All
Visual C++ Operator overloading in VC++.NET Express Edition
Hi! How can I overload operator[] or operator() for array scripting in Whidbey VC++.NET Example : public value class MyFunction { private : array<double> descreteValues; public: MyFunction(int n) { descreteValues = (gcnew array<double>(n)); } /* Overload the operator ( ) or [ ] for array scripting such that both left and right side operations will be possible e.g. for [ ] define a property such that Right => a[ i ] = value; // (set) Left ...Show All
.NET Development how to run a vb.net application without installing .net framework sdk...
sir i have developed a vb.net application & i would like to distribute it. But my clients are not intreseted to install .net framework sdk in their machines.They argue that with respect to java,if only JVM is installed ,they are able to run their java applications.... So,is there any possible way to run a vb.net application without installing .net framework sdk... Please help me in this matter I developed s/w and some body said me once that u can run application without framework or anything else. To run the application u need to just copy some DLL files at some specific location i tried but its not working and i dont know where to copy the files exactly. P L E A S E H E L P M E A S A P. ...Show All
Windows Live Developer Forums How to Add PushPin using FindLocation (without providing lat and long)
Hi guys, Just started playing with the API. I am trying to add a pushpin to general points e.g. Cities, Provinces, Postal Codes but everytime I try to the pushpin appears in a totally different point. Any insight would be much appreciated. Thanks K <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; var pinID = 1; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); FindTO(); AddPin(); } function FindTO() { map.Fin ...Show All
Windows Live Developer Forums PostGIS, MSVE and alot pf Polylines/Polygons
I've been hacking at this problem for a while, and I'm sure tis been doen a thousand times by now by others but I've only just started playing with both PostGIS and MSVE so Its really messing with my head. Basically we have a several databases full of statistics for geographical locations which could be represented as polylines or polygons and actually both will have to be used... I'm trying to figure out a way of fetching this data from the databases but I want it to remain as polys for future adaptability. I've figured out the code in VE that would select the area and hence the queries I need from PostGIS but I just cant figure out how to join the two things together. I've been pointed at doing some kind of Java servlet and I've had a go ...Show All
Windows Forms print datagridview cell format
Hi All I am using the code below from Mike Golds Exercise Tracker articale to print a report from a datagridview which works great the problem i am having is some of the columns in the datagrid are formated one to short date time and three with currency values eg 7/7/2006 & $1.00 that are showing like that in the cells but when i print the grid the formated columns show the date and the time for the date column and 1.0000 for the currency columns.I am hoping someone can show me how to change the code to show the right column format when the grid is printed. Hope someone can help Thanks Barry private void DrawDataGridView( Font RegularFont, Graphics g) { int columnPosition = 0; int rowPosition = 240; Dr ...Show All
Smart Device Development Oracle connection issue
hi I'm not gettin any driver like ODBC,OLDB for SmartDevice application developement in vb.NET cud any people help me to connect SamrtDevice application with oracle in wireless LAN bbyeeee Andrew is correct. Windows CE does not support ODBC at all and there's no OLEDB ADO.Net provider for NETCF mostly because there are no 3rd party OLDED drivers for CE which makes potential OLEDB ADO.Net provider pretty much useless. There's 3rd party ADO.Net provider for Oracle. Alternatively you could use Web Service as a proxy. ...Show All
Visual Studio VS 2005 Release build error
Hi All- I am having an error when I build a WinForms Solution in VS 2005 IDE. This solution has roughly about 10 projects and am getting the following error when I build the project in release mode. "Unable to copy file "C:\SolutionName\ProjectName\bin\release\project.dll" to bin\release\project.dll. Access to the path 'bin\release\project.dll' is denied. I am getting this error on all the project files. Please let me know what am missing here. Thanks, Jaxdeveloper It seems an Access issue. Have you tried giving access to the folders. There might be changes that the DLL it is trying to copy is used by some other process by VS only. You might like to check this too. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. changing from fixed to variable step in the middle of a game
I've found that I can easily change the TargetElapsedTime of my fixed step during game run, but the quickest I can set it to is 1 millisecond. My computer is capable of more than 1000 FPS so I would like to set my game to variable in the middle of a run so that my frame counter will pick up an effectiveFPS & display it. then I switch back to fixed step so my play speeds are consistent. This is just a tool while I code & create the game, it will not be utilized eventually. I just want to keep track of performance hits while I add things. I find that game.IsFixedStep = false; does not do the trick, I'm still on fixed step (62 FPS & it is running that speed). Even calling Initialize(); after setting it to false does not work. If ...Show All
SharePoint Products and Technologies Sharepoint Designer 2007 Issue on x64
My apologizes if this is in the wrong place. Running Vista Ultimate x64 with Office 2007 and SharePoint Designer 2007. Every time I open up SharePoint Designer I get: Configuring Microsoft Office SharePoint Designer 2007 And it does that for 90 seconds or so then starts it up. It does that from a shortcut, from the Start menu, from Start Run or from an HTML file and Open With... I see nothing in the event logs or anything anywhere else I can think to look. It does not do this on another machine running x86 version. Thoughts I lied....there were 4 events in the registry. Detection of product '{91120000-0017-0000-0000-0000000FF1CE}', feature 'WAC_CoreSPD', component '{9BED4C3D-06A0-43BA-A116-119ABB59E482}' f ...Show All
Visual Studio Team System VSTE for Software Developers vs. VSTE for Database Professionals
Hello, Is there any document that lists the differences between VSTE for Software Developers and VSTE for Database Professionals. I understand that both the products include Visual Studio 2005 Professional Edition. But I would like to know what features of VSTE for Software Developers will be taken away from VSTE for Database Professionals. Thanks. Deepak. deepakjg wrote: But I would like to know what features of VSTE for Software Developers will be taken away from VSTE for Database Professionals. AFAIK - None. They were never there in the first place. All Team Editions have a core set of functionality which is basically Visual Studio Professional. That means alls editions can wor ...Show All
Windows Forms How do I create a copy of a datatable - and the copy not have any reference to original?
I would think the clone method could get me a copy of the datatable, but does it copy data too I want to mess with the copied datatable, without ever affecting the original. Any ideas Thanks. you can also use datagridview to relize copying --------------------------------------------------------------------------- // Copy from the results of a Select method. foreach (DataRow MyDataRow in DataTable1.Select("Region = 'WA'")) { DataTable2.ImportRow(MyDataRow); } Console.WriteLine(DataTable2.Rows.Count); Console.ReadLine(); // Copy from the results of a DataView. DataView1 = DataTable1.DefaultView; DataView1.RowFilter = "Region = 'WA'"; for (int i = 0; i <= DataView1.Count - 1; ...Show All
Visual Studio 2008 (Pre-release) Xaml auto-completion?
I've VS2005 with the latest "orcas" upates. Why VS xml editor doesn't help me with hints on code tags and attributes like it does while i edit configuration files I'm already opening it with xml editor and if i digit < i receive only: <!-- <![CDATA[]]> < This looks strange to me. :-\ Oh my god, informatic is an opinion... Now it works, and i simply restarted VS. It's unpredictable, sometimes works, some other times it doesn't and i need to restart VS in order to make it work... look here, i just restarted VS2005 :-| ...Show All
Smart Device Development Getting own Phone Number using C#
Hi, Is there a way to get the Phone Number of my pocket pc device without having to use c++. I would really like retrieve this information using C#. Any help would be greatly appreciated. Regards, Jesse Hi, Apparently my searching abilities are not up to snuff. I found this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfphoneapi.asp Arg.... ...Show All
Visual Studio Express Editions Change font
Hi i would like to know how can i change the font of a RichTextBox clickng on the button. When i'm clicking on the button, the selected text in a RichTextBox must be Formated with " Microsoft Sans Serif" font . I have tried this code, but is not working RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont, RichTextBox1.SelectionFont.Name Xor Font.Name "Microsoft Sans Serif" ) Anybody know how to do this Thank you or, to the right of the equals = New System.Drawing.Font( "Microsoft Sans Serif" , 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType (0, Byte )) I am fairly certain that you cannot OR or XOR a font. ...Show All
