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

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

olloemre

Member List

Duncan-Countrywide
akin_l
AndrejS
Wout
John Lieurance
xxd
Ntc
Shaurya
DavidThi808
Evan Mulawski
Mark Gilbert
Bradley Reynolds
AlexBB
roadresident
TomSanford
Raymundo Chapa94595
Bobyang2
wolfr
Dasa
Will C.404367
Only Title

olloemre's Q&A profile

  • Visual C# Msgbox

    How do you create a new line in a msgbox It says something about Chr(13) and Chr(11) Thanks Look into your  original post for the answer. The last option still aplies. MessageBox.Show( "First line" + Environment.NewLine + "Second line" ); Andrej ...Show All

  • Visual C# FolderBrowserDialog and folder shortcuts

    Hi Guys, I have a C# app that needs to allow a user to select a folder, it then moves the contents of that folder to somewhere else. I am using the FolderBrowserDialog to allow the user to select the folder but now they want to be able to select or open a folder shortcut and select folders underneath that. Folder shortcuts don't get displayed by the FolderBrowserDialog (presumably because they are files ) but I can't use the file selection dialog as that doesn't allow the selection of folders and I don't want the user to be able to select individual files. I am trying to avoid having to write a custom version of the FolderBrowserDialog but I guess that's plan B. Does anyone have any suggestions Regards, Rob ...Show All

  • Visual Basic Function to open a form, then when it is closed, return a value back to original form

    Hi Guys! Basically I'm after a way I can open a form (say, form2 for the exercise), then when form2 is closed, the function will return a value from a textbox on form2, obviously calling the function from form1. I've got something like the following... #FORM2 Public Class Form2 Dim Showing As Boolean = True Public ReadOnly Property ValueIWant() As String Get ValueIWant = Me .TextBox.Text End Get End Property Public Function GetValueFromForm2() as String Me.Show() If Me. IsShowing = False Return Me. ValueIWant End Function Public ReadOnly Property IsShowing() As Boolean Get IsShowing = Showing End Get End Property 'There is also a sub that alters "Showing" to false when a button ...Show All

  • Visual C++ about dll problem,thank:)

    about dll problem,thank:) i have two file a static dll file ,another static Exe file i think Exe call List Class in dll,but.......... ************************static dll****************************** <<<<<List.h>>>>>>>> #pragma once class AFX_EXT_CLASS List:public CListCtrl { public: __declspec(dllexport) List(); __declspec(dllexport) ~List(); __declspec(dllexport) void CMCreate(CWnd *pWnd); DECLARE_MESSAGE_MAP(); public: __declspec(dllexport) afx_msg void OnNMClick(NMHDR *pNMHDR, LRESULT *pResult); }; <<<<<<List.Cpp>>>>>>>>> #include "Stdafx.h" #include "List.h" List::List() {} List::~List() {} BEGIN_MESSAGE_MAP(List ...Show All

  • Visual Studio Express Editions Need Advice To Build V6 Program with Strtok Deprecation Errors

    Hi, I have a program reportedly compiled with VS C++ V6 that I need to compile, (no using the new VS C++ Express. The only major error message preventing the build come from deprecation of the strtok() commands in the program. I have searched all over the internet, and gotten advice to swith to strtok_s or turnoff the deprecation. I can't find a step by step detail instruction on how to turnoff deprecate in VS C++ Express, nor can I find any step by step conversion instructions for a replacement command that works. For example, if I do what the compiler says, change the strtok to strtok_s or _r even the resulting build does not even recognize the commands. I am hoping that this is a simple matter for the experts among you. I just don't ...Show All

  • .NET Development ODBCCommand.ExecuteReader causes application to unload

    Hi I have found the weirdest thing. We have a requrement to connect to a Scada Experion data source to extract data. We currently use a VB6 app and have just started porting it to dot net. We are using the ODBCConnection class to read in the data. Establishing the connection is very expensive so we currently hold it open, using the same connection to access the database every 60 seconds for days or weeks on end. When the app detects a connection failure, it closes the connection and creates a new one. We have tried to replicate this functionality in Dot Net. We wrote a provider class that creates, monitors and maintains the connection. Utilising Connection Pooling, which has to be enabled at the driver level, is not an option due to ...Show All

  • Visual Studio Express Editions Serial Port. Problems in Storing received data

    Hello everybody. I'm still on the same project: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=714917&SiteID=1 Is it also a problem if you are using our test program to send and receive If this is not the case, it may be the lack of protocol that courses trouble. As explained previously, the read loop will return when there are no more data, but you have no guarantee that the telegram has finished at that time! If one or more bytes are missing, the read loop will be activated again when these bytes arrive and this will set the index I to 0 and overwrite the array. You may e.g. select an ASCII character as telegram termination (e.g. 04 - EOT - End Of Transmission) and wait for this before the package is send to the display ro ...Show All

  • Visual C# cannot find table 0

    Hi, I have had a problem two days and still no solution. I have a web method within a web service that returns a DataSet. When I test it by hitting F5 everything goes well and my DataSet contains the dat. but if I browes to the Web Service the dataset is empty it does not return anything. and if i call it from another application it gereates following: Cannot find Table 0 .... here is my Web Method: [ WebMethod ] public DataSet GetMyContactsForSmartTag() { Guid MySiteGuid = new Guid("8FADE524-C5AF-4AC5-A5B4-181A4E8077D2"); SPSite MySite = new SPSite(MySiteGuid); SPWeb MyWebSite = MySite.OpenWeb(); SPListItemCollection MyContactsItems = MyWebSite.Lists["MyContacts"].Items; DataTable DT = new DataTable("MyDT"); DT ...Show All

  • Visual Studio Tools for Office how to send a message from a different account other than the default using c# ?

    Hi, I have two accounts set up in outlook, how do I send an item using the no default account thanks. Hey guys, I just figured out a simple workaround for outlook users using pre-2007 versions of outlook. All you have to do is create a new email using outlook, leave everything blank, then go into options and change the "send message using" to the account you wish to use. Then, do a "save as" and save this blank email as an "office template" file. Then in your program, instead of calling the CreateItem(olMailItem) function, use the CreateItemFromTemplate("path and file name of the template you created") function. This creates a blank email with the proper "send message using& ...Show All

  • Windows Forms SMTP.

    How do I find out what my SMTP is If you do not have a server running on your local machine you’d need to check with your network administrator, ISP or host provider to find out what you should use. To check your local machine the easiest way is to simply open up a command prompt and type in the following and hit enter: telnet localhost 25 If you can successfully connect then you’ve likely got one, if not then you don’t or it’s off (and turning it on would depend on what server it is). ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Languages supported

    I'd like to know which programming languages XNA supports.   Thanks in advance for your answer I third it, VB would make this an even better program that it is already (and I wouldn't have to learn a new language! haha) ...Show All

  • SQL Server how to solve global stored procedure

    Hello every one i am doing shrinking my databases using my stored procedure i am passing my table to this stored procedure. i placed this stored procedure in Master (database) is it currect set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [SP_SHRINK] ( @TABLE varchar ( 20 )) AS SET NOCOUNT ON ; EXEC('DBCC SHRINKFILE('+ @TABLE +'_log'+',0' +')') EXEC ( 'DBCC SHRINKFILE(' + @TABLE + ', 0 ' + ')' ) if i will give DBCC SHRINKDATABASE(xxx,0) its working.. why i dont understand i can use DBCC SHRINKFILE its not working its saying Error: Couldt locate file 'database' in master Database can u anybody help me thanx Dynami ...Show All

  • SQL Server SQL 2k5 Std. not installing, PA655502.CAB isn't found

    Does anyone know where I might find this CAB file Where do I put so the installation can find it MSI (s) (58:F0) [16:59:30:375]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI56F.tmp, Entrypoint: StartCache Action start 16:59:30: StartCache. StartCache: Error 0x80070490: failed to get cabinet: PA655502.CAB StartCache: Error 0x80070490: failed to set state for cabinet: PA655502.CAB I originally posted my problem on 01/19/2007, look for that post if you'd like to see the complete log files. thanks, Wnz Hey Wnz, What's your setup media, are you installing from network share, locally copied cache or from CD can you goto the root of your installation folder, then goto Servers subfolder, then goto Setup, take ...Show All

  • Windows Forms BindingNavigator

    I am quite new in VB I am trying to make a simple form with tables from a SQL database.I have three tables ( 1 parent and 2 children) shown as details. They areralated in a dataset with primary keys and FK. I have added two sets of data into thedatabase. When I run the application it works out fine, and I can shift between the two sets of datawith the navigatorbar. The three tables shifts correctly. However - when I add a new record into the application and save it, it is only the parent table that obtains the data. The two other tables become emptywhen shifting away - and back to the new record. I would be very pleased if anyone can help me out of this problem. Best regards Claus I had a similiar problem once. Basically th ...Show All

  • SQL Server ODBC DSN on Cluster Server

    Is MDAC cluster-aware I have an active/passive MS Cluster server. ODBC DSN changes on the virtual cluster server are not propagated to the passive node. How do I configure ODBC DSN such that they are propagated to both nodes in an active/passive cluster tia Please note that MDAC is client driver while virtual cluster server is the server. Your ODBC DSN configuration is for the client, not for the server. The DSN will be used by the client to collect server information. So, what you need to do is to configure DSN in all client machines and the server name in the DSN shoule be the name of the SQL Server Virtual Server. Or in short, MDAC itself is not cluster-aware. ...Show All

©2008 Software Development Network