Microsoft Visual C++ 2008 Feature Pack has ribbon menu support. Is it possible to make use of that in an existing MFC application that was not created with a ribbon menu?
What are the possible causes of this type of error - "[Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream"?
And how can this be fixed?
My application runs in C++ calling stored procedures implemented in SQL Server. There's this one SP (containing select and update statements) that causes this problem, after which all succeeding queries will return that the cursor is in an invalid state. I've checked the SP but I don't see any possible problem.
Based on http://support.microsoft.com/kb/306108 I'd like to create a custom rule that shows a custom UserForm instead of the plain old MsgBox. What I wrote was this:
Dim alerts As CustomAlerts
Sub CustomMailMessageRule(Item As Outlook.MailItem)
alerts.Messages.AddItem Item.Subject
alerts.Show
End Sub
CustomAlerts is a UserForm containing a single ListBox.
Sadly my attempt does not work -- no window appears. What am I doing wrong?
I use DBGrid to display Hyperlink type field from Microsoft Access database (MDB).
Normally dbgrid displays hyperlink values like "(MEMO)", without editing capablity. Is there a way to solve this?
I have found some broken threads across the web where people claim to be able to use receive shapes in an orchestration with XLANGMessage types to receive flat file schema files that could not be assembled into a specific xsd.
I've attempted to set the messagetype in the receive shape as Microsoft.XLANGS.BaseTypes.XLANGMessage, but this basetype is not serializable. This then causes a build error.
Is there an object type that can capture both XmlDocuments of well formed xml messages as well as malformed xml and non-assembled flat files?
HI all,
I have Ishare URL " www.example.com\ishare " which i opened it thru wshshell.
I want this page to be reloaded every 10 seconds. any help on this would be much appreciated. following is the script,
Dim WSHShell
Dim oShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run("iexplore https://Infrastructure/IA/Lists/Incidents/AllItems.aspx")
oShell = "Incidents - Microsoft Internet Explorer"
WSHShell.appActivate(oShell)
WScript.sleep 500
WSHShell.SendKeys "{F5}"
Set WSHShell = Nothing
I tried to use Oledb to open Excel 2003. Looks like I can read most of data, but for some cells (such as number), the value returned is Null. Any suggestion?
My connection string:
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=Excel 8.0;"
In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow?
It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 2008 installation.
When editing Silverlight XAML in Visual Studio 2008, the Document Outline panel is not supported by Microsoft.
1) Any helpful tip for navigating a deep XAML markup hierarchy without the benefit of the Document Outline tool?
2) Is this supported in Visual Studio 2010?
What C++ static code analysis tool are there on Microsoft Windows, and which would you recommend?
Please state whether a particular tool relies on cygwin, and whether it cost money. One per post as per for voting up & down.
Similar Question: http://stackoverflow.com/questions/141498/what-open-source-c-static-analysis-tools-are-available
Hello,
I have questions about System.Threading.ThreadStart Class :
where can I find its specifications ( there is praticly nothing in the msdn : http://msdn.microsoft.com/en-us/library/system.threading.threadstart.aspx or in ROTOR : www.dotnet247.com/247reference/system/threading/threadstart/__rotor.aspx)
what is its field : protected System.IntPtr _methodPtrAux
thanks
This is the connection string that is currently working on a non-password protected MS Access database.
db.url = jdbc:odbc:Driver\={Microsoft Access Driver (*.mdb)}Dbq\=C:\Inventory.mdb;DriverID\=22;READONLY\=true
How do I add a password to this connection string?
Thanks!
I am adding OLE objects to an excel sheet through .net interop. However, after some calls, excel is not allowing adding more objects through code. Is there a limit? or am I doing something wrong.
Dim Htmlshape As Microsoft.Office.Interop.Excel.Shape
Htmlshape = xlWorkSheet.Shapes.AddOLEObject(, tmpFile, , True, strExplorerPath, 1, "")
Running this code gives an error after say 1000 calls. So, am I crossing some limit here?
I want to do the next thing:
String[] cmd = {"cmd","/c","c:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.exe","/mOpenPage","c:\\Navodilo.doc"};
Process proc = Runtime.getRuntime().exec(cmd);
But, without to specify the winword.exe path...
Ideas?
I have to add a listbox/dropdownlist to a report in a Visual Studio Business Intelligence project, allowing users to filter a DataSet by the Id of the entity chosen in the listbox. I heard this was possible, but there is no option to add a listbox in the Toolbox in Visual Studio, and looking at the Report Definition on microsoft.com, there's nothing there about a listbox.
What am I doing wrong here?
I don't know if I have done anything wrong, but when I try to write code there are no intellisense popups indicating options or errors.
I am creating a CLR/CLI type of project with Microsoft's Visual C++ 2010.
I am concern about the security of the data and application on Windows Azure... I read in a book that The windows azure provides security through service-level agreement.
Can anyone tell me about the What kind of authentication mechanisms used to protect my data.
How Microsoft provides these securities...
i have a WPF TextBox that user can type number in that . now i am searching for a string format that can separate TextBox number each 3 point (like 0,0) but i want separate text with Slash or Back Slash or another character. and we do not know how much point our number has.
i am searching for string format not Linq solution or etc . i read Microsoft help but cant find any way .
sample = 123456789 == 123/456/789 (good) --- 123,456,789 (bad)
I understand that the Express edition doesn't template unit test projects... but being a complete newbie to Microsoft dev tools, I can't figure out how to set up the necessary things manually either. So could someone please walk me through how to get NUnit going?
I am trying to create a Pareto Chart in SQL Server Reporting Service 2005. I created a chart, but having difficulties in trying to get my cumulative(line) to display. I listed my values below.
=SUM(Fields!Total_SR.Value)/MAX(Fields!Total_SR.Value,
"SeriesGroup")*0.75
cumulative value:
=RunningValue(Fields!Total_SR,
Sum, "SeriesGroup") / Sum(Fields!Total_SR, "SeriesGroup")
I am able to get the Bar to display.
This is the instructions I used:
http://msdn.microsoft.com/en-us/library/aa964128(SQL.90).aspx
In one of the answers to this question jalf spoke about useful define NOMINMAX, that could prevent from unwanted defining min/max macros. Are there other useful defines that can help to control windows.h (or other Windows headers, for instance Microsoft C Runtime headers or STL implementation) behavior?
Edit-And-Continue is one of my favorite debugging tools which I have previously used on C# based Winforms and ASP.NET projects. However, I'm running a Silverlight 3.0 application on VS 2008 and whenever I try to make a change (after breaking) it says "Changes are not allowed when debugging Silverlight applications". Also there isn't an "Enable Edit and Continue" option in the project settings.
Does anyone (possibly an insider) know when this feature will be supported by Microsoft???
(I NEED IT!)
I have a xml document holding a small data for my project where I want to convert my xml to an excel file (microsoft office excel 2003 and over)
How can I do this programmatically?
Hello everyone,
I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?
thanks in advance,
George