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

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

WishfulDoctor

Member List

navinkaus
QWERTYtech
_CN_
Olli P
tamasu
dnyanesh
mohasad
ahmad.nazmi
SHBEHM
alan666
maqk
Martin181
johnsontroye69
dayjur
feby
nychia2001
Macrap
Alvin Kuiper
enric vives
Mykhaylo Blishch
Only Title

WishfulDoctor's Q&A profile

  • SharePoint Products and Technologies Pprogrammatically setting a BusinessDataField

    Hello, I want to set a Business Data field in a list via code. Does any one of you have an idea, how to do this If I access item[ID] I just get a System.String. Thanks, David David, My original post may have been of topic (I had read your post to mean add a new BDC field). However on re-reading I think you mean how to set the data. The post Updating BDC column in lists programmatically goes some way to solving this. Quote: When you add a BDC column to a list, SharePoint creates several related hidden columns in the background. Important one is named [Entity]_ID. If you're displaying information from "Product" entity for example, the list will contain "Product_ID" column ...Show All

  • Windows Forms deleting the void between tablelayoupanel

    hi i am using tablelayoutpanel ,i got one image and i cuted to 03 parts and i puted eatch parts one row of the tablelayoutpanel and i tryed to deleted the void between the images ,cause i want to see thos 03 part like one image. can you help me thank you Actually it is the Padding and not the Margins of the tablelayoutpanel that matters to controls inside the panel, so you set the Paddings to zeros and the Margins of the PictureBox controls you added to the table layout panel to all zeros. I tried this and it worked fine! Hope it helped ...Show All

  • SQL Server Cannot display database properties windows in Sql server management studio.

    I use sql server 2005 developer edition with service pack 1. When i right click on a database and i select properties an error occured with the folowing stack trace =================================== Cannot show requested dialog. =================================== Cannot show requested dialog. (SqlMgmt) ------------------------------ Program Location: at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.AllocateDialog(XmlDocument initializationXml, IServiceProvider dialogServiceProvider, CDataContainer dc) at Microsoft.SqlServer.Management.SqlMgmt.DefaultLaunchFormHostedControlAllocator.Microsoft.SqlServer.Management.SqlMgmt.ILaunchFormHostedControlAllocator.CreateDialog(XmlDocument ini ...Show All

  • Windows Forms BUG: TabPage not resizing/repainting properly

    Steps to reproduce:    Open up a new WindowsApplication    Add a SplitContainer to the form (Dock should default to "Fill")    Add a TabControl inside each of the two SplitContainer panels    Set both TabControls Dock properties to fill so they fill up each panel Now run the app and move the splitter around.  You'll notice that the client area of the tab pages are not fully repainted to fill the gaps left by moving the splitter.  You will also notice that other events like changing the selected tab or minimizing/maximizing the form causes the tab control to be repainted properly.  Please fix!  Using .NET Forms runtime version v2.0.50727. TIA ...Show All

  • Software Development for Windows Vista IMediaDet interface - access violations

    Hi all, I've written a DirectShow app to sample frames from various video formats and capture the frames as bitmaps. It works but I'm getting access violations when I use the IMediaDet interface. I create it using: CComQIPtr<IMediaDet> pMediaDet; HRESULT hr = ::CoCreateInstance(CLSID_MediaDet, NULL, CLSCTX_INPROC_SERVER, IID_IMediaDet, ( void **)&pMediaDet); When I create my sample grabber I use IID_ISampleGrabber and not IID_BaseFilter (which I know can cause access violations). The IMediaDet functions: put_Filename, get_OutputStreams, put_CurrentStream and get_StreamType are fine. However the functions get_FrameRate and get_StreamLength have access violations. I've searched the forum and found that someone else had ...Show All

  • Visual Studio Team System Another 3200 Error during setup

    Hi Almost out of patience (and time) now. Thought I had it made since I managed to get the Report server up and running (finally sic!). But then this popped up (again) almost at the end of the FS installation. Product: Visual Studio 2005 Team Foundation App-Data Tier Beta 2 (English) -- Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\SetupWarehouse.exe" -n -s "<ServerName>" -d BisDWDB -c "C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\Consolidated.xml" -a "<DomainName>\TFSSERVICE" -ra "<DomainName>\TFSSERVICE" -v -l "C:\DOCUME~1\TFSSETUP\LOCALS~1\Temp\setupwarehouse.log"' returned non-zero value: 3. &l ...Show All

  • Visual Studio 2008 (Pre-release) Page navigation and de-serialization bug?

    I think I stumbled onto a bug. I'm building a navigation-based application using WPF. In it, I have a Page with a number of controls on it, mostly TextBlocks, TextBoxes and ComboBoxes. I also have a UserControl in there, which itself has a number of the same types of controls in it. The contents of both the Page and the UserControl are defined in XAML. On the Page, I have a TextBox (say TextBox1) with some text in it. In the UserControl, there is a TextBlock (say TextBlock1) with some text in it. The values of both controls are defined in XAML. Here's the problem: If I navigate away from the page, and then return to it through the back button, the value of TextBox1 (in the Page) ends up in TextBlock1 (in the UserControl)! Here are a few t ...Show All

  • Visual C# adding SQL db

    i have created a web app at www.syscpupower.com , I would like the results of the required feild to be saved to a sql database along with a date and time stamp. i have only created a sql database, do i need to create a table and how do i get the info from the feild into the database If you would like to see the code behind please reply to the post... any assistance would be great! Thanks Danny G Guillory Jr Hi Danny, A database can be looked at as a collection of tables and other objects (like views, indexes, ...). The database itself is just a name for the entire group of objects. The actual data is stored in tables. So, you do need to have at least one table, to store your data. To store your data into the table, ...Show All

  • Windows Forms Changing window size dynamically

    Hi! I have a question about a window form in visual c++: I have an application which takes as parameters two integers, the width and the hight of a form to be created; moreover, the form contains a panel, which has to be resized too, to fit the hight and the width of that form. The problem is that even using commands like: this->Size = System::Drawing::Size(width,height); this->panel1->Size = System::Drawing::Size(width,height); (located in the constructor, after InitializeComponent() command) the window still has the same dimensions as shown in the visual c++ design window (I mean "form1.h[Design]"). Perhaps there is some option to be set Or maybe something to be changed in the toolbox Thank you! ...Show All

  • Visual C# Create my own mp3 stream

    Is it possible to create your own mp3 so you could theoretically create your own internet radio station nope! i want to know how would you set up your own mp3 stream and also create a player to play that stream and i want to implement it myself I’m quite familiar with C# threading and Synchronization all i need to know is how to create and even trickier play the mp3 stream I’m not looking for code really but code will always be accepted just want to be pointed in the right direction ...Show All

  • Community Chat your computer is ready to compute

    as many know when you don't have the latest CPU you'll have to wait when your computer is ready to compute. also many handicapped persons, which area doesn't matter, are waiting when their pc is ready to compute. all other persons watch the LED of their HD, when it goes out. and watch the mousepointer becomes to standstill. whatever, the case is, you'll have to WAIT..... why don't you make a neat little program that can be implemented in any MS OS, Vista included, that tells you by sound and vision: YOUR COMPUTER IS READY TO COMPUTE. the idea is seen on Startrek serials which were made by the fabulous Gene Roddenberry. the computer on board of the Enterprise told their crew members that "she" was "rea ...Show All

  • Visual C# Different Values in DropDownList in DataGrid

    Hi, I have a web form. I am using sql dataadapter, dataset and datagrid for displaying the data. (C#) In first column of all the rows, I have dropdown list that I want to populate on the fly. (so, number of dropdown lists = number of rows) Some of the options in the drop down list are common (e.g.: "View the Order", "Open the Order", "Print the Order" etc.) where as some of the options are specific to the Order Number (e.g.: "Order ######" etc.). Order # is the next column in the datagrid. So, I want to basically capture this Order # and put it as an available option in the dropdown list of the current row. (there is a unique Order # for every row and that # must be the option in the drop down list). ...Show All

  • Visual C# How to read from a text file?

    I want to read the words from a file and store the words in a 2D array. The first word in store in the first row of the array.the second word in second row..etc.. How can I do that you can try this: string[] theWords = System.IO.File.ReadAllLines( "FileName.txt "); this will read the entire contents of the file into a string[] array and you can access the array afterwards. Is this what you are after ...Show All

  • Visual Basic convert to vb.net - System.IntPtr* ptr = &handle;

    Dim handle As System.IntPtr System.IntPtr* ptr = &handle;     <<--   in vb.net How do I convert this Thank you. -Greg or create a separate c# dll (to be referenced as needed in the vb project) that would take as an argument the panel control and let this code segment (which works in c#) send the ptr (the address of the panel control) onto the unmanged c++ dll. does this sound o.k. thx. -greg unsafe { System. IntPtr handle = panel1.Handle; System. IntPtr * ptr = &handle; MainDisplay_Init(ptr); } ...Show All

  • Silverlight (formerly WPF/E) Complex image fails to render

    I am trying to use a XAML control to display a detailed JPG image. I can replace the source image with any other random graphic and it diplays fine with Image or ImageBrush elements. When I use the graphic I want (an aerial map), I get the following: HRESULT=2147467259 "Setting visual root failure" Thanks, Bob How big is the image you're trying to display If it is very large, you my consider trying to load it with the new downloader object and then displaying it once it is downloaded. http://msdn2.microsoft.com/en-us/library/bb232904.aspx I'm just guessing that somehow it is timing out (or something to that effect), but it is just a guess. :) ...Show All

©2008 Software Development Network