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

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

Diegota

Member List

lmttag
Ehsan Enaloo
Sixon
LeoXue
Lawrence Sutton
J. Hammer
Ashish Derhgawen
JavaBoy
pessi
Jerryk
dwj
BobInIndy
Steve1999
Abraham Heidebrecht
JennyMQuinn
M. U.
R.Tutus
chanmy8
ejstembler
F. Gsell
Only Title

Diegota's Q&A profile

  • Windows Forms how to get the name of the image in Picture box

    Hi i have a small problem.I saving an image that is displaying in the picture box. i already has a default image in the picture box before capturing the image from a webcam name default.jpg my problem is i want to know the name of the image so that i will ensure whether i'm saving the newly captured image or the default image. hope i conveyed my problem correctly.looking forward for a solution -regards GRK HI thanks for immediate reply. i checked with the above code in vb.net it is giving error when i put a @ symbol like the above. and also there i no tag member to that. ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • Visual C++ CEDIT Base Class

    Hello all, It would seem that the Class Wizard wont give me the option of creating a new class with the base class of CEDIT. CEDIT does not appear in the pull-down. you are not Doing .that Doesn't mean that things are not there.you also can use Extra Functionality with the help of taking support of WTL in ATL.Hope you Will get Some good things Thanx ...Show All

  • Visual Basic PDF to CSV conversion

    Hi. I need to convert this file, http://www.ncb.dk/pdf/mprt-title.pdf , to a CSV file. I've already found some .net code that can convert from pdf to text files, but it's impossible to separate the fields using that. It has no idea where "title" ends and "First composer" begins etc.... Help would be highly appreciated. ...Show All

  • Visual Studio 2008 (Pre-release) ChannelFactory.Close() throws CommunicationException error

    Hi, I've created an intermediate service that accepts a message on a one-way contract from a client and then forwards the message onto a server based on a message header entry. The service contract for the intermediate service requires sessions and the binding uses wsHttpBinding with reliableSession set to true. When I receive a message from the client and then create a channel factory to forward the message to the server, when I close the channel factory I get the error: 'The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.'. void IOneWaySessionRelayService.RelayMessage(Message message) { // Find ultimate receiver endpoint Ulti ...Show All

  • Visual Studio 2008 (Pre-release) Two questions about IQueryable<T> - Expression{get;} and CS0310

    Dear group - I am prototyping a Linq provider for Mysql and have some questions. 1) The first point of entry on my IQueryable implementation is "Expression {get; }". I saw in Hartmut Maennel 's Linq provider for RDF that he returns a ConstExpression. I copied that, and it works. But what is the meaning of that Is that documented anywhere 2). My second question is more of a basic question about generics. I have my generic class, MySqlProvider<T>, and it calls into other generic classes. I get error CS0310 because the outer class can be anything, and one of the inner generic classes calls 'new()'. Code snippet below. The question - how can I cast for a 'newable' class to prevent CS0310 Thanks, George public class MysqlLinqP ...Show All

  • .NET Development string.Split() method memory management - potential problems ??

    Hi friends, I've been using the string.Split(Char []) method to split two strings and compare them item-by-item. You may assume that I don't need to simply compare the entire strings (for out-of-scope reasons). The MSDN documentation says this about this method - The Split methods allocate memory for the return value array object and a String object for each array element. If managing memory allocation is critical in your application, consider using the IndexOfAny method, and optionally the Compare method, to locate a substring within a string. Does this mean that even if my array, in which I hold the split-string, goes out of scope the memory allocated by Split is still occupied and garbage collector does not free it ...Show All

  • Windows Forms Typed DataSet and CommandTimeOut

    How I can define CommandTimeOut to typed dataset thanks. I build a Typed DataSEt (in VS2005), it containg a query, this query is from a store procedure that return too many rows. When I want view the preview from this query or I run this program, It give me the follow error "time out expired". The question is: How I can define the commandTimeOut to this query . I can't see any option or parameter for set it in the typed dataset. I extended the dataset class and set the commandTimeOut but I think that this not is the best way. Thanks again. ...Show All

  • SQL Server Transaction Question

    When I run the following in Query Analyzer: SET QUOTED_IDENTIFIER OFF -- allows double quotes (") used as wrapper for dynamic sql. DECLARE @E int BEGIN TRAN T1 PRINT 'Start...' EXEC ( " begin tran T2| raiserror( ' inside proc', 16, 11) PRINT STR(@@ERROR) rollback tran T2 PRINT STR(@@ERROR) return " ) SET @E = @@ERROR IF @E <> 0 BEGIN PRINT 'Error ' + LTRIM ( STR ( @E )) + ' out of here...' ROLLBACK TRAN T1 RETURN END PRINT 'Done.' COMMIT TRAN T1 I get the following output and error: Start... Msg 50000, Level 16, State 11, Line 3 inside proc 50000 Msg 6401, Level 16, State 1, Line 5 Cannot roll back T2. No trans ...Show All

  • Software Development for Windows Vista Web Service Host - CookieContainer Property

    Hello everybody, I just read an article where Israel Hilerio posted the example " Deploy Distributed Business Processes With Windows Workflow And Web Services ". It works all fine and I think this is a very good example. But I do not really understand how the WorkflowInstance is stored when he wrote the following lines of code: string workflowInstanceId = this .ListBox1.SelectedValue; System.Net. Cookie cookie = new System.Net. Cookie (cookeyKey, workflowInstanceId, "/" , "localhost" ); cookie.Expires = DateTime .Now.AddMonths(1); cookie.Value = workflowInstanceId; ws.CookieContainer.Add(cookie); I read that a HttpModul inside the Web Service stores the actual Workflow ID in the Http ...Show All

  • Windows Forms Dialog form is hidden sometimes

    Hello all. In my application I have some form that I show modally. DialogForm frm = new DialogForm(); frm.ShowDialog(); So what's happening sometimes.... frm is "hiding" before the main applciation form. And it looks like that application is frozen (its because frm is active now but does not have focus). Is it a bug in .Net If you open that dialog from a method of your main form, pass the this pointer as parameter to ShowDialog. That makes it modal to your main app. -- SvenC ...Show All

  • Visual C# Problem: The breakpoint will not currently be hit. No symbols have been loaded for this document

    Hi, I've run into a problem that seems to defy a solution. Bottom line: When I'm attempting to debug with VS 2005, I cannot set an effective breakpoint in one of the source files. The breakpoint is the hollowed-out reddish/yellow circle, and VS says that the breakpoint won't work because the symbols are not loaded. I've found several discussions in this forum about this type of problem, but there's no concensus that I could find on how to solve the problem. Some background might be in order. I have been developing a "data binder" for use in a forms UI application that has multiple threads. There are three projects/classes in the solution, one for a test mainline, using forms, one for a general-purpose "dump" routi ...Show All

  • SQL Server about update

    when transfering data from text file to sql server using dataflow how can i update a record if it exists.Is it not possible to use or call stored procedure in the dataflow. please let me know sureshv wrote: I am doing as it is shown in the link you provided.but i connect to a database if it had to update a record after using union all. And it inserts a new record. Would you please make it much more clear with it. You'll need to provide more information, BUT, are you sure you are comparing data appropriately That is if you are comparing against a char field, trailing spaces are important to ensure a match. Just ensure that your comparison fields are trimmed appropriately before doi ...Show All

  • Visual Studio TextEditor: How to Regain Edit Position upon window reactivate

    Is there a way to ensure that when the window regains focus the previous cursor position is regained instead of the cursor position changing to where clicked I only want the position to change if the window already has focus (is active). Example: Cursor is at EOL on line 6. I click into some tool window and no longer see a cursor position in the text edit window. Bad already. But even worse is: When I click back into the text editor window - line 15 then my cursor is there at line 15. It should go back to line 6 where I left off. THEN if I click again on line 15 it should go there. -Marc- That is what I am asking for help to do. When the TextEditor looses ActiveWindow ...Show All

  • Gadgets Flash movies

    Hi all, is it possible to embedd a Flash movie in a Sidebar gadged Does anyone know if there are any workarounds to get flash to work without crashing sidebar If not do you forsee sidebar and Flash ever playing nicely together regardless of who is to blame There are so many cool apps built in Flash that would scale to sidebar, just thinking of flashlite/phone apps for one. Thanks ...Show All

©2008 Software Development Network