MARCOSEDRALIN's Q&A profile
Gadgets Dynamic content from my personal site.
Are there any good tutorials on doing this I want a small icon of my site on the side bar that when clicked opens in a window that lists recent activity on message boards and other dynamic content from my sites DB... Amature here so bare with my ignorance..:) Thanks in advance... Chris I can't tell for sure what you want, but it sounds like you want a sidebar gadget, here is the link for that forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=1063&SiteID=1 ...Show All
SQL Server Instead of Update trigger not behaving like anticipated
This update trigger will not change the status field in my table to an E. The value that it is adding to the datefield is 20. default value of that datefield is getdate. So I figured if the lastactivity time is < than the expiration time it would keep it as an A otherwise it would set it as an E. Here is the code: ALTER TRIGGER tu_LoggedIn ON dbo.LoggedIn INSTEAD OF UPDATE AS BEGIN UPDATE LoggedIn SET Status = ( SELECT CASE WHEN LastActivity < DATEADD ( minute , ( SELECT CAST (Value AS integer ) AS value FROM SecuritySettings WHERE (ID = 1)), LastActivity) THEN 'A' ELSE 'E' END AS lact FROM LoggedIn AS LoggedIn_1), LastActivity = ( SELECT CASE WHEN LastActivit ...Show All
Internet Explorer Development "Requested lookup key" IE7 Problem
Please help! I just set up my new PC with Windows XP and after installing IE7, when i try to go on any website it launches a pop-up, stating "The requested look up key was not found in any activation context" and doesnt launch any webpages. Yet Mozilla Firefox works fine. Please reply back with a solution anyone :o) -Callum Wesley Brandi - MSFT wrote: Hi, We are aware of this issue only in the event of not rebooting the machine after installing IE7. Hopefully, a reboot should fix the problem, have you tried this yet Regards, Wesley I uninstalled IE7 and installed again, this time making sure i rebooted the computer, and my problem is now solved. Must have just b ...Show All
Visual C# Printing problem
Hi there, I'm currently working on a small project for filling in some forms on the computer and then printing the data into the forms blank fields. Understood Good! ;-) Well, I had a hell of a time to align all fields to the right possition. I printed, adjusted, printed, adjusted... It works now - at least when I print from my computer. Copying the program to a friends machine, starting it, filling in the fields and then printing results in a total mess. Not one feeld as where it is, when I print from my computer. What the hell am I doing wrong Here my code: public void ChoosePrinterAndPrint( ) { PrintDocument doc = new PrintDocument (); PrintDialog pDialog = new PrintDialog (); doc.PrintPage += new PrintPageEve ...Show All
Visual Studio add in user preferences
Hi, I'm working on an add in to VS and I'd like to be able to store user preferences. Could someone point me to the way to go I've thought of using a App.Config but I don't know if that's the right way to do this. Thanks for your help. App.Config makes no sense here. You can use either: - A registry location at: HKEY_CURRENT_USER\Software\YourCompany\YourProduct\YourVersion - A disk location at C:\Documents and Settings\<user>\Application Data\YourCompany\YourProduct\YourVersion. Ensure that you are using the Win32 API to get the name of the C:\Documents and Settings\<user>\Application Data special folder since it is localized in other languages and in Windows Vista it doesn't even have ...Show All
Visual Studio Custom Smart tags
Im trying to create a DualList control for .net 2.0 in visual studio 2k5 that would be able to use the smart tag to setup the datasource. I want to know if its a. possible and b. if there are tutorials that I must have overlooked in my search. thanks in advance! Yes, you can create a control that has a smart tag. You can find a walk through at http://msdn2.microsoft.com/en-us/library/ms171829.aspx . ...Show All
Visual FoxPro Convert ADO recordset to a Foxpro DBF free table
Hi, I currently have a need to convert an ADO recordset to a DBF. I've seen some posts here on how to create and write to a DBF using C# in conjunction with the VFPOLEDB provider. I mocked some code up in VB6 similar to the example and I am able to open the dbf in VFP6 no problem. However, I'd like to find out what ADO to Foxpro field type conversions would work. The ADO recordset comes as a result of a query from SQL Server 2000, so there are bound to be some datatypes that will not convert natively. I've come up with this matrix so far based on some MSDN Library materials. SQL DataType ADO DataType &nb ...Show All
.NET Development Internal Server Error When ASP.NET Starting
When I want to start ASP.NET Web Application get the following error. HTTP/1.1 500 Internal Server Error Please help me. Thanks Turn off custom errors to get detailed error. Also disable 'Show friendly HTTP error messages' in IE. Check application event log and security log for errors. Ensure that the correct AppPool is set in virtual directory properties and the correct identity is configured. Give us a shout if you need more help with any specific errors. Nikhil ...Show All
Windows Search Technologies WDS 3.0 Beta 2:Scanning network drives
Hi, In WDS 2.6.5 it was possible to scan network drives. In WDS 3.0 Beta 2 this is not possible. When will this feature be returning. As it stands, due to My Documents being redirected and other files being stored on network locations WDS 3.0 isn't much use in a corporate environment. Cheers Janson Hi Paul, Thats excellent will go try that out right away! Have been waiting for this for a good while Will similar follow for Vista Cheers Janson ...Show All
Smart Device Development How to provide custom paint method for MenuItem control?
Hi, I need to provide a custom paint method for the MenuItem control, but I don't know where to start. Can anyone give some directions Thanks. Tuan You can download a trial version and see for yourself what it can do. In short it allows you to create an owner-drawn context menus with the icon menu by default. http://www.opennetcf.com/PermaLink.aspx guid=b4655cd5-8978-4e0b-b157-0acf624786ec ...Show All
Visual Studio Team System Can't Change the Update Action for certain objects in Schema Compare
I don't know if this is by design or not, or whether I am doing something wrong, so any help will be greatly appreciated. I've imported an existing database schema into a new project. I then used the schema compare tool to identify differences between my project and another copy of my database. The comparison tool works fine, identifies all of the differences. The issue I am experiencing is that for certain objects (this happens for tables, views and sprocs) I am unable to change the Update Action from Create \ Update to Skip. For other objects (again, tables, views and sprocs) I am able to change the Update Action at will. I am not sure what the difference is between the objects whose Update Action can be changed and the one ...Show All
Visual C++ Problems with the shortest code in C
Hi im just starting with the shortest program in c: //first_code.cpp #include "stdio.h" int main() { printf("Hello"); return 0; system("PAUSE"); } I compile it without errors, bit when i execute it, the window of ms-dos appears for a moment and then disappears and Visual C++ .NET shows this: 'first_code.exe': 'C:\My code\Debug\first_code.exe' loaded, Symbols loaded 'first_code': 'C:\WINDOWS\system32\ntdll.dll', It is not possible load symbols 'first_code': 'C:\WINDOWS\system32\kernel32.dll', It is not possible load symbols You system("Pause") is never executed. It is placed AFTER the return. Easier is to use Ctrl+F5 to launc ...Show All
Visual Studio Error
Hi, I just installed Visual Studio 2005 on Windows x64 and when I open it up it keeps coming up with the error: Class not Registered. Looking for object with CLSID: {00BB2763-6A77-11D0-A535-00C04FD7D062} I've tried doing some searching and it seems thats the AutoComplete class but I'm not sure and I dont know what to do so I'm posting here. Thanks for any help. Another thing you can try is to run System File Checker tool with the /scannow argument: Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe) ...Show All
.NET Development advpack.dll error, different than the other topic.
When I attempt to install .NET Framework 2.0 x64, it comes up with this error: "Error creating process <C:\DOCUME~1\Steven\LOCALS~1\Temp\IXP000.TMP\Install.exe>. Reason: C:\WINDOWS\system32\advpack.dll" Anyone know what this is and what I can do to remedy it EDIT: Also, I've tried extracting it manually by invoking /C. Then it says the install is invalid. Steven P. wrote: Didn't work. EDIT: As it turns out, I'm using a 32-bit PC. However, when I try to install, it keeps freezing while registering System.EnterpriseServices.dll by running RegSvcs.exe while invoking /bootstrapi. Know what's wrong I am also having the same problem. I can kill the regsvcs process and the in ...Show All
Visual Basic How to open PDF documents in a RichtextBox ?
I know that the only way to open pdf documents in rtb is the use COM .. but few questions I shud add reference to my project .. but with which dll file .. and do i need Acrobat Reader or Acrobat Professional A few lines code wud help. Right-click the toolbar and select Choose Items. Click on the COM components tab and click Browse. Navigate to C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroPDF.dll The interface is documented here... I hope it works for you, it was a bit flakey when I played with it. As an alternative, consider displaying the PDF in a WebBrowser control. ...Show All
