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

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

Tiarnan

Member List

james_m
ykgreene
Fayez Mutairi
Jive Dadson
Stephane Seigneurin
krishna16
z3n
Ivo6070
1HellaNewb
Dondata
ZopoStyle
heyram
vua_rua
SGriffiths
Mr.Analogy
Drore
Leomath
fode
Sammy1971
DOSrelic
Only Title

Tiarnan's Q&A profile

  • Windows Forms update app.config with connection string on first install.

    Hello, I have developed an application that will use a sql server on a remote server that is on the LAN. The connection string I currently have in my app.config when the application is deployed will be different. Only the user will know when they install the application for the first time. Is there a method to setup the connection string and update the app.config file when the user install the application for the first time. I am using winforms vb.net 2005 and sql server 2005 Thanks in advance, Steve ...Show All

  • SQL Server What happens when the 4 GB database size limit is reached?

    Does the user get an error message What error does an application get that tries to insert additional data via ODBC This was a hypothetical question. I haven't tried it out. Do I really have to try it myself or does anybody already know the answer ...Show All

  • .NET Development Suggestion: Overload TryParse to accept defaults

    Hello- Most simple types (bool, int, double, etc) support a static TryParse function that will take a string, and a typed variable to try to parse that string into. It would be handy if there was a second overload of this TryParse function in each case that would also take a default value. Here's how it currently looks: bool foo; if (!bool.TryParse("true", out foo)) foo = true; Here's how it could look: bool foo; bool.TryParse("true", out foo, true); Thanks for the consideration, Eric Hey Stephen- Feeling like a stupid user in action here, but I'd actually tried going there first. I couldn't figure out how to get to a point where I can submit th ...Show All

  • Audio and Video Development Extracting DVD video

    Hi everyone! I'm trying to write application to work with dvd disks recorded with camcoder. Its quite simple all i want it to do is to save save selected chapter to disk and encode it. To make it more convenient encoding will be done in 2 steps : copy selected chapter/title to the disk encode file in backgroup thread or even by service And here is the problem - i need copying to be performed as fast as possible, but using DVDNavigator i couldnt do that - when i tried PlayForward with high speed but i get a rapid clip. I also tried SetSyncSource(null) but i get empty file. Does anyone have any idea about how to do that Set the clock to NULL using the IMediaFilter::SetSyncSource method on the DirectShow filter graph ...Show All

  • Visual Studio how many editions availabele in microsoft visual studio 2005

    hello sir I want how many editions availabele in microsoft visual studio 2005 and list of editions Have a look at this http://msdn2.microsoft.com/en-us/vstudio/aa700919.aspx ...Show All

  • Visual Studio Express Editions Help Clearing All Textboxes and All Comboboxes

    Greetings: I found this helpful code elsewhere on the forum, but it is only working on the Combo Boxes and not the text boxes on my Form1. Currently I have 4 textboxes and 3 comboboxes on my form. In the editor, when I hover my mouse over "ComboBox" it says "Class ComboBox" and when I hover my mouse over "TextBox" it says "Interface TextBox." Any ideas or help is greatly appreciated. Thanks Glenn Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each c As Control In Me .Controls If TypeOf c Is TextBox Then ...Show All

  • Windows Live Developer Forums Mozilla 2.0 error loading maps!!

    Virtual Earth doesn’t in Mozilla 2.0. This error appears: Error: uncaught exception: Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly. Anyone knows which is the problem Thanks! I'm assuming you mean firefox2 Marc found the solution and I put it in the new code wiki for Virtual Earth: http://www.viavirtualearth.com/wiki/Firefox2.ashx John. ...Show All

  • Visual C++ Compiler error C2664

    Hi, I'm working in VS 2005 and it's a windows forms application. I've come across a strange error, in what looks like very simple code. I'm simply trying to pass an integer to a function, have that function change it's value, and the value is preserved back in the calling function. Simple. The problem arises when I try to do this passing a member variable of a managed class. Here is my code: namespace BoxWorldSolverC { public ref class frmMain : public System::Windows::Forms::Form { // Data members private : int m_iMapWidth; int m_iMapHeight; ... Further down in same .h header, i.e. same class declaration... private : System::Void test( int &myInt) { myInt++; } ...Show All

  • Visual Studio Express Editions c++ code

    Hello, Why this code dot work on VC++ 2005 express, but work on Dev C++ If I write something in c++ this should work on any c++ compiler or not I was put include stadfax and nothing. Thanks in advance. #include<iostream> #include<string> using namespace std; void okvir(const int & x); int main() {     cout << "Number of lines  ";     int n;     cin >> n;     string tekst[n+1];     cout << "\nTekst:" << endl;     int a,b = n;     for (i ...Show All

  • Smart Device Development EVC 4 socket help

    Hi, I'm trying to implement socket into my pocket pc 2003 application. I compiled the program successfully but when executing, I'm getting some errors regarding the socket. The codes related to socket and the errors are given below. void CDirectDlg::OnTimer(UINT nIDEvent) { int sd; struct sockaddr_in myaddr; int clconnect; sd = socket(PF_INET,SOCK_STREAM,0); if(sd==INVALID_SOCKET) { MessageBox(L"Socket not connected",L"ERROR",MB_OK); } else { myaddr.sin_family=AF_INET; myaddr.sin_port = 1; myaddr.sin_addr.s_addr = inet_addr("152.226.238.139"); clconnect = connect(sd,(SOCKADDR *)&myaddr,sizeof(SOCKADDR_IN)); if(clconnect = SOCKET_ERROR) { MessageBox(L"Unable to connect to IP", ...Show All

  • SQL Server SQL2005 Stored procedures don't execute after attach database

    While doing maintenance on a development server we detached a database and later reattached it to the same server. For some unknown reason web services execute but return no results. There are no errors reported in event viewer. I connected to the database in Visual Studio 2005 and attempted to execute a simple select statement but it returns no row. It appears to execute the stored procedure but does not return any data. I have cut and pasted the select statement into a View which does execute. Lastly I just created a new store procedure to test the database and it also does not return any rows. This is all very strange. Could use a few suggestions at this point. Larry Additional information: I created a new databa ...Show All

  • Visual Studio Bug: Interihance Hierarchy VS2005 incorrect when using inner classes

    Hi,   The inheritance hierarchy when using the VS2005 template is incorrect when using inner classes. I have the following hierarchy:   class A : object class B : object   (class B is an inner class of class A) class C : B   When I view the class C-documentation the  tree is being displayed as: Object   (hyperlink to msdn)   B        (hyperlink to class B-documentation)     C      (no hyperlink because this hyperlink is the current file)   When I view the class B-documentation the tree is being displayed as: Object   (hyperlink to msdn)    ...Show All

  • Visual Studio ElementAdded event not firing

    I'm trying to capture the ElementAdded event in a VB project. My add-in works if the project is a Windows application, but if the project is a class library, my event handler never gets called. I downloaded some sample extensibility projects from Microsoft, one of which was called EventWatcher, which handled a number of events, and wrote to the Output window when they fired. I observed the same behavior with this add-in, which suggests to me that the problem is not my add-in code. Is this likely to be something in my VS configuration Intended behavior Bug Thanks. Well, if anybody's interested, Microsoft responded to my bug comment, saying that this was by design. Their comment was: "In order to ...Show All

  • SQL Server Property DefaultSchema is not available for Database [DatabaseName]

    We're using Windows Authentication with our SQL Server.  We've added a domain group to the SQL Server groups and would like to give it a default schema.  The properties window is the same for users and groups but the default schema field is enable only for user entities.  We cannot add a default schema to a group.   Is this by design,  a bug or a problem with our SQL Server installation Updated on 2005/08/29 My first try was done at through Database\Security\Users.  I tried going through Server\Security\Logins and I got this error message    Alter failed for User 'Domain\Group'. (Microsoft.SqlServer.SMO)   Additional Information:   --> An exception occured while ...Show All

  • Visual Studio 2008 (Pre-release) Listbox SelectionChanged

    Quick question: Does anyone know how to stop a selection change from completing in a ListBox In my case, i am wanting to put up a message offering 'Change Item, Or Cancel' when data is dirty.. i.e. I want to cancel the SelectionChanged.. Any ideas Regards Andrew Whiddett ...Show All

©2008 Software Development Network