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

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

Bear23

Member List

ConfigSSIS
Markus Fritz
LookitsPuck
YMaod
SarasMax
Ossie Bucko
idos
swan_sgp
R.Tutus
shades921
jocuppens
sxf
Dhiraj12345
dga
Sharpstyx
Tryst
Morrissey99
Dan Amero
robinjam
aspfun
Only Title

Bear23's Q&A profile

  • Visual C++ list of default libraries being pulled in

    Is there a way to get a list of the .lib files that will be searched for when you have "Ignore All Default Libraries" set to No in the Linker/Input properties grid /VERBOSE is... well... a little too verbose. There is way too much output. All the searched libraries are listed multiple times. For example, kernel32.lib is listed 6 times. To obtain a list of individual libs I would need to go through the entire linker output and try to keep a list of each library name and whether I have seen it before. Is there something a little simpler ...Show All

  • Visual C# Display data as a dataset

    Hi all, I would like to query data from the tables and display as a dataset. May I know is this the correct way of doing it I had not tried it before. Do we display data using dataset If yes, can someone direct me of how to do it Pls advise A DataSet is used for storing data and not for displaying it. You need to decide how you want your data displayed. The canonical control is normally a DataGrid (v1.x) or DataGridView (v2+). In both cases you can simply dump the DataSet to the control by setting the DataSource property to the DataSet instance and the DataMember property to the table within the DataSet . In both cases the controls will automatically generate the columns and r ...Show All

  • Visual Studio 2008 (Pre-release) msmqIntegrationBinding error generating proxy using svcutil

    Hi Guy I have problem building the proxy fo msmqIntegrationBinding I have the following classes and interfaces: [ ServiceContract (Namespace = "http://Microsoft.ServiceModel.Samples" )] [ ServiceKnownType ( typeof ( PurchaseOrder ))] public interface IOrderProcessor { [ OperationContract (IsOneWay = true , Action = "*" )] void SubmitPurchaseOrderMessage( MsmqMessage < PurchaseOrder > msg); } public class OrderProcessorService : IOrderProcessor { [ OperationBehavior (TransactionScopeRequired = true , TransactionAutoComplete = true )] public void SubmitPurchaseOrderMessage( MsmqMessage < PurchaseOrder > msg) { PurchaseOrder po = ( ...Show All

  • SQL Server Error rendering subreport in table

    Hello there. First some informations: The Report shows informations about server from our customers. There will be one report per customer. One Customer can have 1 or more servers. I get all servers from a customer with DataSet1. The result is one column with one or more rows (example "Server1", "Server2"...). Its a really big report so i put all objects in subreport and in the "toplevel"-report i repeat the subreport for each row i get and set the column as parameter (which is defined in subreport). Heres my problem: if i put the subreport direct into the report and set a fix value for the server-parameter it works fine. if i put the subreport in table i get the followin error: "[rsErrorExecutingSubrepor ...Show All

  • Visual Studio Express Editions remove all but numbers

    This is the sort of data that i have; chris - 0400423068 tom - 0400987389 Heidi - 0412139864 and what i want to do is remove all but the numbers. dont worry i got it my self. Dim extract As String Dim start, finish As Integer extract = nameslist.SelectedItem MsgBox(extract) extract = extract.Replace( "-" , ">" ) MsgBox(extract) extract = extract + "<" MsgBox(extract) start = extract.IndexOf( ">" , 1) + 1 finish = extract.IndexOf( "<" , start) extract = extract.Substring(start, finish - start) MsgBox(extract) ...Show All

  • Visual C++ How do I display images in C or C++?

    I've been making animations and lately getting into game design, particularly 2D games. I started by using tools that allow me to do this. The programming language used with my old tool is much like C with only a few differences and seriously simplified which in turn, poses many limitations. I've learned enough C at the moment to reprogram two-thirds of my 2D game, The Supernatural Olympics, but there is one issue that bothers me - just how do you display an image I've learned the format of BMP file for sure (and I've used my previous tools to generate a 16-bit palette as a 24-bit BMP file) and have yet to learn the format of TGA files. However, I just don't see any instructions that are used to get the image displayed on screen. The posi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Passing multiple streams to effects

    Hey all, REALLY sorry if this supposed to be obvious, but i was wondering if any one had any sample code where they are drawing something using an effect that used multiple vertex streams, my shader code is correct, but i just don't know how to pass the two streams to the shaders, i set the two vertex buffers from the two meshes: graphics.GraphicsDevice.Vertices[0].SetSource(mesh1.VertexBuffer, meshPart1.BaseVertex, meshPart1.VertexStride); graphics.GraphicsDevice.Vertices[1].SetSource(mesh2.VertexBuffer, meshPart2.BaseVertex, meshPart2.VertexStride); and in each pass of the effect i run: graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, meshPart1.BaseVertex, 0, meshPart1.NumVertices, meshPart1.StartIndex, m ...Show All

  • Visual C# Playing an mp3 Byte[] Array how?

    I have stored in memmory an byte array of an mp3 file and i want to play it how can i do this well one way would be to write it to disk, then play it in either an embedded WMP component or launch a process on the mp3 file. Example: System.Diagnostics.Process.Start("filename.mp3"); ...Show All

  • Visual J# Two embedded resources, one is multi-language java resources

    Hi; I need to have two .NET embedded resources in my dll. One is a resx file created by vjsresgen and includes java resource files for 22 different locales. The problem is that when I run in the locale Spanish Mexico (I have resources_es.properties but not resources_es_mx.properties) I get an exception on calling ResourceBundle .getBundle( "resources" ); I must have both embedded resources. How can I make this work thanks - dave Hi Dave, If i understand your problem correctly then your default locale is Spanish Mexico and you have resource file for Spanish only as a part of embedded resource in a dll. When you make a call for getBundle, you get an exception. Based on this understanding i worked with this ...Show All

  • SQL Server Create Directory with a File System Task

    Hi! I'm having a bit of a problem implementing a File System Task to Create a directory and would appreciate some help if possible. I want to create a date directory so I can move files to once they are imported successfully. The date portion for the directory comes from the import file whose name is variable and in the format of PerfLog_<yyyymmdd>.aud. So, in essence, if I am processing a file named Perflog_20060913.aud, when I am done processing it I want to create a directory c:\myprog\20060913 and move my processed file there. Can anyone help me Please. I seem to be running into another problem with this. The create directory works fine for the first file that is moved. In the ...Show All

  • Windows Forms TextBox field - binding to a NULL value and empty string in the field

    Hi I have a TextBox bound to a NULLable datacolumn in a DataTable. When the form is displayed and I enter a value in the entry field and try to tab out, it wouldn't go to the next control. Basically, the validation fails and the user is stuck in that field under a value is entered in that field. So, I ended up have the following code: ... ... ... textBox.DataBindings["Text"].BindingComplete += delegate(object sender1, BindingCompleteEventArgs evt) { if (evt.BindingCompleteState == BindingCompleteState.Success) { if (evt.Binding.Control.Text == string.Empty) { dataRow.SetValueNull(); } } }; textBox.DataBindings["Tex ...Show All

  • Visual Studio Team System get list of files changed after a specific label

    How can you get a list of all the files under a team project that have changed since a particular label was cut on that team project Thanks for the knowledge imparted on this subject. Regarding your last paragraph on only using labels rarely, I would like to ask some further questions. We are cutting labels for particular release numbers. We then branch on the label to fix any production bugs. Since we previously used VSS, we avoided branching and merging like the plague...so we're new with the best practices for branching and merging. I read a book on software configuration management patterns and took a liking to the mainline pattern. Should we not be using labels for this Is there a better way to skin this cat ...Show All

  • .NET Development Delegate on my custom class members

    hi, I want that when the values of my class members change, a method will be called. For Example C#: Thank you Chris for the quality of the answer and for taking time to help me. I just adopted something similar but without using delegates to fix my issue by calling directely the method in the property, but delegates are cleaner. Thanks again ...Show All

  • .NET Development assigning array values takes too long

    Using vb8 and sql server 2005, I am assigning two array values to a datatable and updating a dataset. Unfortunately, it is taking, so far, more than an hour to do this with about 650,000 records. I've done something similar with more fields and about 1.5 million records using vb6 and ado but that completed in 2 or 3 minutes. Below, I've listed the code. What am I doing wrong and how I can speed up this operation Dim ResultAdapter As New SqlDataAdapter ResultAdapter = New SqlDataAdapter(ResultCmd) Dim ResultSet As DataSet = New DataSet ResultAdapter.Fill(ResultSet) Dim FactorTable As DataTable = ResultSet.Tables.Add(FactorTableName) Dim DTCol As DataColumn = FactorTable.Columns.Add( _ " ...Show All

  • .NET Development programatically Accessing the Mail

    hi, my task is programatically accessing the mail server whether it is hotmail/gmail/yahoo etc using vs2005 C#.Means fetching the my inbox contents into my machine.Can you please suggest me some good references.Its very urgent and i am new to these technologies.Please give me solutions. Thanking you inadvance A.suneel. Hotmail, etc may or may not offer POP3 access. In .NET, today, you don't have APIs to retrieve mail vis POP3. You could however use other technologies like IMAP and you have to do P/Invoke yourself ...Show All

©2008 Software Development Network