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

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

Triangle1408

Member List

KervyChoa
Majicas
Kay Chan
Kutlu Araslı
PatRedmond
Thibaud
Tej62007
hrd2hndl67
JamesPMiller
Dinesh Patel
parang
cpurick
JosepMola
hallscreations
ImagineNation
VladR
simon_
Andre's
Larry Aultman
RBinD
Only Title

Triangle1408's Q&A profile

  • SQL Server Automating SQL Profiler

    The powers at be have decided that they would like to automatically run a trace on one of our analysis servers when it processes a cube in the early hours of the morning. Now I have no problem creating a SQL Profile to run and store the results in a database table for them, but I have no idea how to automate it so that it runs everyday, any help would be greatly appreciated. My apologises for posting this in forums SP2 is going to come out with little sample application ASTrace.  This tiny sample installs as a service and knows how to subsribe to Analysis Services trace and output this trace into SQL Server table. Drop me a line if you are in urgent need to solve this problem an ...Show All

  • Visual Basic Call Stack Frame

    Hi, I have a routine which transfers data from an excel worksheet to a data table, then I iterate through the datatable to update records in an Sql database. Works fine up to a point, however half way through the process, I get the following error message. "No symbols are loaded for any call stack frame. The source code cannot be displayed" Whe I click OK on this messagebox, the following error information is shown. ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1a1de0 to COM context 0x1a1f50 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumpi ...Show All

  • Visual C++ Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host?

    Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host My boss doesn't want to use pass ByVal, because it will take too long. We tried a section of code that he wrote, and I keep getting a "Bad calling convention error". Is it possible to do this Private Declare Function myFunc Lib "C:\Program Files\Microsoft Visual Studio\MyProjects\d\Debug\d.dll" (ByRef filName$) void __stdcall myFunc(char filName[256]) { char *fp; char filName2[256]; char outChar; int i; fp = &filName[0]; for (i=0;i<255;i++) { filName2 =*fp; *fp++; } fp = &filName[0]; for (i=0;i<24;i++) { outChar = *fp; printf("\n %c",outChar); *fp++; } } ...Show All

  • Visual C# how to implement the same functions on different parts of a form?

    Hi, everybody... In some softwares, there will be MenuStrip and ToolBox. The functions on ToolBox can also be found on the MenuStip. No matter user choose to try which one, the same results will be shown. I want to ask the ways to realize this. If there are many functions related to each other, there will be a huge task to update the status of the MenuStrip and ToolBox in-phase. For example: On both MenuStrip and ToolBox, there is a CheckBox, named "cb1"<MenuStrip> and "cb2"<ToolBox>, if user check "cb1", "cb2" should also be checked and vice versa... So I have to check the status of the two CheckBoxes first, as: private void cb1_CheckedChanged(object send ...Show All

  • Smart Device Development RTSP

    Does Windows Mobile 5 / Windows media player 10 supports video streaming of RTSP protocol In fact, I quite don't know RTSP is due bottleneck for WM5 or for WMP10... I have tested that if my device has a .3gp file, it plays ok. But if I use WMP10 to open the (rtsp) URL, it encounters error... it said the file is untrusted and need digital signature... Just stupid que: is that I need to install a realplayer to satisfy handle the "rtsp" streaming If I use a URL like this: rtsp://10.99.3.12/pp1/demo.wmv I see the Windows Mobile 5 send HTTP SYN / ACK then a RST to the windows media server. It doesn't send any RTSP to the windows media server. Is there a setting in the windows media ...Show All

  • Visual Studio Team System Error when trying to build

    Hi, I'm trying to run a Team Build on my local machine, connecting to our lab TFS server. This has been working before. Now I'm getting a TF42056 error (Requested registry access is not allowed). Any suggestions on why and what to do would be greatly appreciated. Regards, Christian It sounds like the account used to run the build service on the build machine no longer has access to the registry. You could turn on tracing in the tfsbuildservice.exe.config file by uncommenting the diagnostics section and restart the Team Build Service Windows service (tfsbuildservice.exe.config is in c:\program files\microsoft visual studio 8\common7\ide\privateassemblies). If that doesn't help diagnose the problem ...Show All

  • Visual Basic How do I show a confirmation box instead of a MessageBox?

    I am trying to find a relatively simple way of showing a MessageBox with a "Yes" and "No"(Confirmation box). Can anyone help me please MsgBox is the VB6 way of showing the messagebox. But in vb.net it is replaced with MessageBox. So If You are working in VB.Net then use it's provided method. But there is no problem in using MsgBox because it is still supproted by .net. ...Show All

  • Visual Studio Express Editions How to get the size on disk of a file in c#

    Hi I want to get the size on disk of a selected file in c#.By using FileInfo.Length i am able to get the file size.But i need " size on disk" in c#. Thanks in advance Thanks Chandu.Sanka The size on disk is returned by the FileInfo object or the StreamReader base object length property- it will get the value on how many bytes are available to read for that file as its true value. I'm curious why you need the other property (Size on disk) ...Show All

  • Visual Studio 2008 (Pre-release) Button - WPF

    Hi, when i wrote the following code in my wpf app. I got a warning. In the msdn document <button.content> is mentioned but i'm not able to get it. Note : It's just a warning and I'm not able to see Button.Content in the list. It works fine < Button Height = " 27 " VerticalAlignment = " Bottom " Margin = " 75,0,102,102 " > < Button.Content > xzcds </ Button.Content > </ Button > Warning 1 The element 'Button' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child element 'Button.Content' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of possible elements expected: 'Button.IsDef ...Show All

  • Windows Forms get data to textfield from dataset

    I know it's a stupid newbee question, but I have looked everywhere and can't find the answer.... I know how I get data from a dataset to a datagridview but how do I get data from a dataset to a textfield My code: private void loadFakturaVis() { try { //create a connection string to the access database OleDbConnection cn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0; User Id=;password=; Data Source=" + myDB); // Create the DataSet ds = new DataSet("FakturaOrdre"); // Fill the Dataset with Kunder, map Default Tablename // "Table" to "Kunder". da = new OleDbDataAdapter("SELECT Kunder.KundeId, Kunder.Navn,Faktura.FakturaID, Faktura.KundeID, Ordre.OrdreID, Ordre.FakturaNr, Ordre.Antal, O ...Show All

  • Software Development for Windows Vista Problem with mciSendCommand

    I hope this is posted to the correct or at least somewhat correct forum. Didn't see what I thought would be a perfect fit, so here I am. If this is all wrong please let me know and I will be glad to re-post. On to the problem... I have a routine which I have been using that opens or closes the CD/DVD tray. I have been using it with XP and it works flawlessly. Recently I tried it with Vista and found that it doesn't work at all.. In my routine I call mciSendCommand with the MCI_OPEN command message to obtain the Device ID. What I have discovered is that mciSendCommand/MCI_OPEN in Vista does not return a valid Device ID even when using the exact same setup as for XP (it works in XP). Any suggestions or advice on this would be appreciated. Ri ...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

  • Windows Forms GridView and Selecting Value

    Hi, I am displaying values through two gridviews in my windows forms. Both gridviews display values properly. I see one gridview's first row is selected by defaut but the other one is not. Also how do get the value of that first row after it loaded I am able to get t he value after a mouseup event or cellclicked event, would I be able to get the value of the first row after gridview is loaded I do hope I didnt' confuse you. One more question how do i customize the gridview When gridview is loaded I see an extra column on the left and a row at the bottom with the * Can i get rid of them or can customize the datagrid Thank you. the extra column u talking about is it the greyed one on which the * appears on the last row this column ...Show All

  • SQL Server Setting the Locale of Reports

    I am having a problem with date formats in reports. I have a two servers, one setup as En-US and the other En-UK in Windows. I have various reports that are rendered using the report viewer control in local mode. In my reports I have not set a language on any text boxes or on the report itself (using Default option in VS 2005). As I understand reporting services should therefore use the locale set in the browser, or else the locale of the report server. However, when viewing the reports, both servers display date time values in American mm/dd/yyyy format! I do not understand this as I am using the local machine to view the reports and the so the locale of the browser and the locale of the OS are En-US and En-UK respectively. Please could ...Show All

  • Visual Studio unable browse new site with sharepoint

    i sucess create a new portal name as http://wss in the share pointer server administrator said the portal is sucess without any error but when i browse it, the page showing "the page can not found" does anyone know what configuration i was miss you probably would be best posting at the appropriate communities for sharepoint: www.microsoft.com/communities ...Show All

©2008 Software Development Network