floydness's Q&A profile
Visual Basic System.Net.Mail and BCC
I have an application written in VB 2005 that uses the System.Net.Mail namespace to send e-mail messages using BCC. I was running into an issue getting the friendly names to work and started searching for guidance and ran upon something startling. The link below states that the BCC functionality within the .NET Framework 2.0 is not really blind. Can anyone confirm that this is the case Has it been fixed in an update to the .NET Framework The application I am working on is for a medical facility and is used to e-mail patients reminders, etc. I was going to use BCC so that our ISP doesn't block outbound e-mails thinking they are spam or a mass-mailing worm. A couple of times per month the system will be sending out messages to at leas ...Show All
SQL Server Yet another question on Application security....
Ok, i have read a few articles regarding application security and it sems to me the Microsoft just doesn't get it. As others have posted, Vendor packages are not normally controlled by the IT staff... they do what they do. When an application is used for mission critical data, it becomes important to lock down that data as best as it can be under the limits of that application. Yet what is often lacking in a vendor package is thought about what opening up the database means. We are using a Vendor package that does not allow for application security to be set. In other words, it uses windows authentication to grant Database access. As many others here have noted, this opens the database to manipulation via any other tool the user has ...Show All
Software Development for Windows Vista Can WWF can run with Framework 2.0 ?
My company's developping project using Visual Studio 2005 Professional (DotNET framework 2.0). My work's using WWF. Can I use WWF with this version of Framework How to install and use And if the answer is "Can't" and I have to install DotNET framework 3.0 and Visual Studio 2005 Extensions for Windows Workflow Foundation. May my project can work well with the others using framework 2.0. My project just is a part of my company's project. Please help me ! Windows Workflow Foundation (WF) is built on top of the .NET Framework 2.0 and ships as part of .NET Framework 3.0. In order to use it you must install .NET Framework 3.0 and should not cause any issues with .NET Framework 2.0 applicat ...Show All
SQL Server command line parameters are invalid
I have a package that let me to import data from a excel book to a Sql server data base. When I try to run this package like a step into a SQL server Job it show me the next error. "The command line parameters are invalid. The step failed." the "command line" looks like this /FILE "C:\Project\Package.dtsx" /CONNECTION ConexionExcel;"Provider=Microsoft.Jet.OLEDB.4.0;Da ta Source=;Extended Properties =""EXCEL 8.0;HDR=YES"";" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EWCDI and in my excel conexion is: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=;Extended Properties="EXCEL 8.0;HDR=YES"; When i run the "Command Line" in the "Com ...Show All
SQL Server Assign expression value using code
I am trying to use a variable to set an attribute value of an SSIS task but I keep running into the 4000 character limit of the string variable. Not sure why the variable which is of .NET type String has this limit when it doesn't when you are in a .NET environment. Regardless, can anyone provide some sample code that I could use to do this in a script task I am trying to set the QueryString property of the Data Mining Query Task. All help would be appreciated. Thank you in advance. All task properties support expressions, it is only Data Flow components that require the developer to actually set some code that says an expression is supported. The problem is that the result of an expression cannot be greater than 4000 charac ...Show All
Visual Basic Reading and writing pdf files
Hi, I am writing a dll that needs to read certain lines from pdf files, and write them to a database. A second phase of the dll will generate content and write to a pdf file How can I read from and write to a pdf file Thanks Your best bet is to go to the source: Adobe, that is. http://www.adobe.com/devnet/acrobat/ There are several free and not-so-free reader/writers available. They all have advantages and disadvantages. Writing is going to be easier than reading, however (there are quite a few PDF printer drivers). ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need a Graphics Card with Min XNA specs
I just ran a tool and it appears my card is not complient. I was ready to give up Beta'ing this app but then saw some of the cool stuff people are doing, so I gotta get me a card. Do any of you guys have a link you can reccomend for the least expensive graphics card that should meet the requirements to develop with the express app If you know the specific brands/models likely to be the most resonably priced that would be usefull information as well. Thanks in advance for any reccomendations. I didn't say anything about "branded pc's", just 3D graphics cards you find on the shelf. I would like to see one current 3D card on the shelf that doesn't support XNA. Xna is built on Direct3D 9. A curre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does Xbox 360 controller also work for Windows?
Does Xbox 360 controller also work for Windows or do I HAVE to buy the Windows version of the Xbox 360 controller According to this kb article http://support.microsoft.com/kb/907634/en-us you can connect your 360 controller to a Windows XP PC, given that you install the software / drivers. I haven't tried this, but if you have an Xbox 360 controller, I suggest you install the drivers and give it a shot. ...Show All
Visual C# foreach Page.Constrols
i have some controls in page(textbox,dropdownlist) and i some of this controls Visible Property=false, i want to this when the Page_Load event run this codes Thank You Andrej thanks yes,yes,yes it happened ...Show All
SQL Server ASP.NET cube administration?
Hi all! We would like to create an Intranet based cube administration tool. Power users should be able to process cubes and dimensions. This works and all the cubes, dimensions and even databases from the SSAS can be displayed in the web! ASP.NET@C# combined with Microsoft.AnalysisServices offer a lot of very good possibilities! But we still have a problem: How ist it possible to show some kind of progress bar (maybe in a self refreshing iframe or a new window ) When a cube/dimension is processed the user does not get ANY feedback (of course the webserver waits to finish the process() method. I tried to start a different thread an this even works! I want to show our powerusers at least some kind of progress (%, ev ...Show All
Visual C# Getting the containing folder of a service
Hi there, I want to get the directory path of a service I am writing in order to have it automatically load settings from an XML file in the same directory - is there an easy way to get this given that the service .exe file will be in different locations on different computers it is deployed on Eg if the service is in 'c:\services\new\service.exe' I need to get 'c:\services\new\' Thanks! Alan For Windows, console and service apps you can use Environment.CurrentDirectory to get the current directory of the app. This can be changed over time so you might want to cache it up front. If you want to be able to determine the directory of the running process without relying on the current directory then you can use P ...Show All
SQL Server Size of Nulls
Hello Friends I was just going through the size occupies by the datatypes of sql server but i am wondering how much size a NULL can occupies can any one suggest how much NULL s occupies a hard disk.. space and also the method to find out the size occupied by NULLs Thanks in advance.. Paresh. Hello there.. Thank you for your reply it was helpful.. but my question is still there.. if I'm taking any non variable datatype as NULL in my database then how much space it will occupy and also if its variable length datatype then how much space it will occupy ...Show All
SQL Server why job can't start automatically
hello,everyone,i meet a problem that the job can't start automatically while i set the schedule,the job can start manual,so i don't know why somebody can help me,thank you Hello, A few questions: 1. What version of MSSQL are you running 2. What is the error you receive in the job run history 3. If you receive no errors in task history, are you sure you've created and enabled a valid job schedule Cheers, Rob ...Show All
.NET Development Drawing on web pages
After way too much research and study, I have not been able to determine how to draw on web pages (not forms). Is it possible If not, how do I launch a seperate form, and can I draw on that (as the client) Thanks in advance. Below is a minimal HTML document with VML that works fine for me (when saved as e.g. document.html) with IE 6: <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Minimal VML example</title> <style type="text/css"> v\:* { behavior: url(#default#VML); } </style> <xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" /> ...Show All
SQL Server Dbmail sending mails but recognised as spam by outlook07 and spamassasin.
Just started playing with the server 05 demo I am trying out the dbmail tool/ sp. Problem is that mails are being recognised as spam! Emails are being sent as text. Both Outlook 07 and spamassasin recognise the mail as spam :S.... I sent same info via outlok and all is ok. Difference is the header. Has anybody come across this Know of a solution Thanks Hi, Please explain. I was under the impression that dmail (unlike sqlmail) used smtp directly. THanks ...Show All
