WidgetWorking's Q&A profile
Visual Basic Saving into Excel
I know i can save text files into text documents, but can i save them into excel spreadsheets IceAngel89, I have no idea if you can save text into excel spreadsheets but you can get a excel spreadsheet built into your program and you'll be able to save it through that I believe. Not fully sure on it. Regards, AliQ ...Show All
Visual Studio 2008 (Pre-release) Authentication - Winforms
I am trying to understand the very complex security model offered by WCF. I think it will help if I explain what "I want/ have". I want a service that essentially hosts a secured data layer. I have a business model where the business objects are created in a business object library with the intent for the objects to to be accessed via a proxy (similar to remoting). Only the model is abstracted such that each individual object does not requires its own individual contract. The service operates on the data layer. So, lets say I have a business object: Person. I do not create a service contract (individually) for Person because Person operates on a managed Data Layer where the client is working with a proxy and the proxy ...Show All
.NET Development diffrence b/w .net 2.0 and .net 3.0?
what is .net 3.0 frame work hw it is diffrent from .net 2.0 can we install it on windows xp service pack 2 you can install .Net 3.0 from http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en To learn about .Net 3.0 please reffer to the following sites. http://www.netfx3.com/ and http://msdn2.microsoft.com/en-us/netframework/default.aspx Thanks, Manisha. ...Show All
.NET Development System.Web.Mail - How to find the rejected recipient addresses from the innerException?
Hi All, I am getting the following error while sending email by using System.Web.Mail.SmtpMail.Send(). "The server rejected one or more recipient addresses. The server response was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" I want to display the rejected recipient addresses on the web page as error. Please help me out to fetch rejected recipient addresses from the InnerException. More Details: .Net Framework: v1.1.4322 IIS: 5.0 OS: Windows XP Professional Version 2002 with Service pack 2 Thanks in advance. Regards Anees ...Show All
Visual Studio Tools for Office MAPI - Proper use of IMessage SaveChanges() flags?
I've read the MSDN docs for IMessage SaveChanges() method: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mapi... and it says you use KEEP_OPEN_READWRITE to keep the item open after saving changes, and if that fails with MAPI_E_OBJECT_CHANGED you should retry with FORCE_SAVE. And it appears if you call SaveChanges with KEEP_OPEN_READWRITE followed later by another identical call, then you get the MAPI_E_OBJECT_CHANGED error. But in the real world of coding, if you have some complex logic it's quite likely you'll refactor code into several methods which could be setting properties and custom properties and you cannot necessarily guarantee the order of each method or whether they are called at all. In this ...Show All
Visual Basic Save data from a listbox to a .CSV file.
Hi, I am pretty new to Visual Studio, but know enough about SQL. I am working on creating some applications with VB to access my SQL database. I created a listbox that is extracting some data from a table. I am trying to Save that data to a .CSV file, but I am having major issues. I would really appretiate it if someone could help me and explain why my code is not working. I used examples to get to this code, but lack of experience is helping me to get stuck at this point. Thanks!!! Code: Try With sdlgTextFile .AddExtension = True .CheckPathExists = True .CreatePrompt = False .OverwritePrompt = True .ValidateNames = True .ShowHelp = True .DefaultExt = "txt" .FileName = filename .Filter = _ "CSV Fil ...Show All
Community Chat Is MS trying to throw away menu bar?
In IE7, classic menu bar is disabled by default. In Office 2007, there is not menu bar at all. Also the traditional toolbar is gone. I can't find a way to create my own custom toolbar too. What's happening I know menu bar is very classic and not pretty, but it is one single place that I am 100% sure that I can get all the features from a program. I don't want to lose it. Choose a diety and take it's name in vien........ Who on earth needs a gallery do do word processing Let's get real. Before long we'll need 3-d Glasses just to word process. Why does anyone need a live preview I rather thought 2003 was the penultimate. Even with the quick bar, itms are in groups and every time I want to c ...Show All
SQL Server Data Conversion Error on Excel Destination
I am inserting rows using OLEDBDestination and want to redirect all error rows to EXCEL Destination. I have used Data Conversion Transformation to Convert all strings to Unicode string fields before sending it to Excel Destination. But its gives the following error. [Data Conversion [16]] Error: Data conversion failed while converting column 'A' (53) to column "Copy of A" (95). The conversion returned status value 8 and status text "DBSTATUS_UNAVAILABLE". [Data Conversion [16]] Error: The "output column "Copy of A" (95)" failed because error code 0xC020908E occurred, and the error row disposition on "output column "Copy of A" (95)" specifies failure on error. An error ...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
Smart Device Development CAB Installation - Remove before new one is installed question
I've created a CAB that installs my app... no problem. However, during the installation, it asks the user a question that I don't want it to ask: "The previous version of .... will be removed before the new one is installed. Select OK to continue or Cancel to quit." Then it asks OK or Cancel. How do I NOT ask this question I'm doing a push down to 250 units and I don't want to have to go to each one to push OK. Thanks! Take a look at this newsgroup thread: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/9adf099ddc4040bb/bc2481ec0a2d0544#bc2481ec0a2d0544 ...Show All
Visual Basic Specified array was not of the expected type. Calling VB6 DLL
I Get the following error when running my code. I'm calling a method declared like this in VB6 Public Function executeImageSaving(camArray() As Boolean, brightArray() As Integer, darkArray() As Integer) As String I've never called a DLL expecting Arrays yet in VB .Net. How should I declare the parameters to send, do I need to play with types I've tried 2 ways of declaring camBools, brightValues, darkValues. This way Dim camBools() As Boolean Dim brightValues() As Integer Dim darkValues() As Integer and also this way. Dim camBools As System.Array Dim brightValues As System.Array Dim darkValues As System.Array Dim objApp As LanexDll.LanexObj Dim resFo ...Show All
SQL Server Export image content from database as a file
Dear friends, I have some images inside my database. How can I export the content of an image field to a file in a Windows Directory Thanks! I changed to trusted connection: USE dbRedeComercial exec master .. xp_cmdshell 'bcp "SELECT MON_Foto FROM Monitor WHERE MON_ID = 1" QUERYOUT c:\temp2\picture2.jpg -n -T -S CGDWX01115883\SQL_QUALIDADE' AND returns: SQLState = S0002, NativeError = 208 Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'Monitor'. SQLState = 37000, NativeError = 8180 Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. NULL And I have tabel Monitor in my database dbRedeComercial. Do you understand Thanks!!! ...Show All
Visual Studio 2008 (Pre-release) Right forum for VS Orcas March CTP issues
If you have feedback or questions about "Cider" or xaml intellisense in VS Orcas builds, please address them to the WPF Designer ("Cider") forum. I've asked to have that forum moved over to be a peer of the WPF forum... Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All
.NET Development Clipboard...
Hi guys, have a problem with the clipboard. When I do: ClipBoard.SetText("Test"); It sometimes works, but most of the times it doesn't and you can simulate this by placing the code under a button and clicking multiple times on it. The error I get is:The requested clipboard operation failed Thanks, Nick ok thanks for the reply guys. The problem isn't fixed but I was able to use another more reliable way of transfering the data. As the data is very limited I was able to transport it via atoms (unmanaged) but hey it works ;-) Grtz, Nick ...Show All
Visual C# Writing an image file to memory
With my application there are encrypted image files. To display these images in my app, i currently decrypt them to the hard drive, load the image into the app. Then once the image is no longer used in the app delete the image. The problem with this method is that the files are stored on the harddrive unencrypted whilsted they are used in the app. Is there a way to decrypt the files to memory, where i can then load the images into the app, without the need to write to the users hd. thanks Have a look at System.IO.MemoryStream . ...Show All
