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

Software Development Network >> Dual Cortex's Q&A profile

Dual Cortex

Member List

KitGreen
huabing78
1Dave
Michael.Young
Krutika
VbArch
Lukejs3
Ratheesh*MCP*
wolf777
João Cunha Lopes
sanaku
Ultrawhack
SunilRS
Shamirza
AndyL
Targe309404
crowsfoot
Pitchec0934
j42
Wicket
Only Title

Dual Cortex's Q&A profile

  • Audio and Video Development filecache

    Can anyone tell me something about the filecache I haven't found any detailed example code regarding the filecache. So in what cases do I have to preload files Especially how is this preloading done Do I have to enter something in the manifest or playlist Most of the APIs and Markup elements that allow you to reference resources (such as images, sound files, other Markup files, etc.) require that those resources be present in the "File Cache" before they are used. The File Cache is divided into two areas: API Managed Area (AMA): This corresponds to URIs of the form file:///filecache/resourceFile.png . Files can be copied to this location at runtime using FileIO.copy(). After this, you c ...Show All

  • SQL Server Is SQL Server Express what I need????

    Hello, Someone I know told me that they thought SQL Server Express was what I am looking for. Before I get in over my head I need to know from people who use it if this is really for me. I have build my own web site using very basic HTML and CSS. Nothing fancy I am very new to this. What I want to do is have a customer able to enter their email address, once they have hit submit, I want the email address to go to a database (which I believe this software is going to help me set up ) and a document sent to them. I was thinking of a PDF attachment to an email since I have not figured out yet how to send an email that looks like a web page. I now have a customer inquiry form on my site that is sent to a perl script in my cgi bin ...Show All

  • Visual Basic Can you digitaly sign your program?

    hey i was wondering can you digitaly sign your program and also make to be able to install into C:\Program Files is this possible thank you. You can digitally sign your application with a public/private key pair even in Visual Basic 2005 Express without purchasing a certificate. It may be neccessary to download the 2005 SDK (I hope not). There is a tool called sn (strong naming utility) that lets you generate a key file, you can use this tool to sign your assemblies and in your project properties under the "Signing" tab there is an option there (not the sign the click once manifest) to sign the assembly. That should provide some measure of security against tampering/spoofing, for you. ...Show All

  • Visual C# Writing to Errorlog User field shows n/a

    Morning all, I'm having a problem with my code writing to the Application EventLog. I have set the code up as described and its writting all the infomration i expect bar one very important bit. The username of who was carring out the action that caused the problem. i have found no overload of the Evenlog.Writeevent method that will alllow me to set the username so i assumed it would take the details of the logged in domain user. code i'm using EventLog mEventLog = New eventLog(); mEventLog.Log = "Application"; mEventLog .Sources = "MYApp"; mEventLog .WriteEntry("MessageText",eventLogEntryType.Error,0); Its write all the infomration correctly but the UserName is set to n/a instead of the na ...Show All

  • Visual Studio Upgrading VS6.0 Add-in to VS2005

    Hi, I have a Add-in (written in VC++) that works fine with VS6.0 We are now upgrading to VS2005 IDE and this Add-in does not work. It does not even build well. There used to be a directory "Objmodel" in the VS6.0 installation. The Add-in uses this directory. This directory is no longer present in VS2005 installation. How should one upgrade 6.0 Addin to work in 2005 I thought merely opening 6.0 project in 2005 would do the needful, apparently it is not all that easy. I can share my code if someone is willing to help, it is just 15 classes. Thanks in advance, -Shrikant Hi, I am not sure about C++ add-ins, but in general the extensibility model of VS.NET 2002 (7.0)/2003 (7.1)/2005 (8.0) is different ...Show All

  • Visual Studio Running VS 2005 under a non Admin Account

    I am trying to stop logging into my machine as a adminstrator. To do this I tried to launch VS 2005 with this command: C:\WINDOWS\system32\runas.exe /env /user:<Administrator Account> "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" Where <Administrator Account> is replaced with an appropriate account All seemed fine until I tried to design a stongly typed dataset. Then I got the message the message: Key not valid for use in specified state I got around this by removing the /env. (I think the encryption key is based on the user's sid but with the /env switch I was referencing the key for my logged in account as opposed to the runas account) I also had a problem when I deleted files. The fil ...Show All

  • SQL Server Help on one colum

    Hi, I have a column in SQL that needs to be created. This column needs to start with 10 zero's. If I add a number, say 135 the column needs to read : 0000000135. Is this possible If it is how do I need to go about to do this. If I need to create a view or something like that I do not mind. I am open to all suggestions and appreciate the help. Use the following query.. Select Replicate('0',10-len(Convert(Varchar,ColumnName))) + Convert(Varchar,ColumnName) From TableName ...Show All

  • Visual C# Picture + Text in One richTextBox

    Dear All I want to create a RichTextBox, and then i want to show picture and Text at a time, suppose Welcome to MSDN Forum how can i accompalished this task. Thanks Now no Exception but even no output therefore i am pasting complete code SqlConnection connection = new SqlConnection ( connectionString ); private void cmdInsertIntoDatabase_Click( object sender, EventArgs e) { SqlDataReader drd= null ; try { connection.Open(); String query = "insert into imageTest (img) values (' " + this .exRichTextBox1.Text+ " ' )" ; SqlCommand cmd = new SqlCommand (query, connection); drd = cmd.ExecuteReader(); drd.Close(); connection.Clo ...Show All

  • Audio and Video Development Timing Animations within Script

    One of the problems I am encountering as I put more animations script side, is the ability to have animations occur one after the other, rather than simultaneously. Is there a straightforward way of having animations occur one after the other For example I want the following script to fire in sequence, one assignment after the other, but only after the previous one is completed. document.FOO.style.animateProperty("x","500px",2); // don't turn off display until animation completes document.FOO_BUTTON.style.display = "none"; Is wait(time) supported (iHDSim does not like it)   If so is in sync with the application tick or what The last argument to createTimer() is basically a function pointer. You cannot pass a function with arg ...Show All

  • Visual Basic Case Usage

    I am pretty much a noob programmer, but I'm getting the hold of visual basic pretty much. But in one of my programming attempts something is messed up, because as far as I know my code is good... Take this code: wait actually youre right i get an error when i enter something that does work thats weird, because before i used any case expressions it worked just fine so i should take out the integer parse from select case ...Show All

  • Visual Studio 2008 (Pre-release) Image formats for toolbars?

    I'm curious what people are using for images on WPF toolbars Are you using icons, bitmaps, a geometry in XAML, or It's nice that you can easily make an interface scalable with WPF, but that implies that some sort of vector images would be best. But how do you make those look good when sized down to small areas like 16x16 I'd like to hear from some developers/designers that have been working with this awhile on what's worked best for them What gives you the best tradeoffs between ease of creation, good looks at larger sizes, and good looks at smaller sizes Not sure if others are doing the same, but I'm finding myself using png for icons, etc, anything other than basic shapes. You can make the original pngs larger than you need (as ...Show All

  • SQL Server sql 7.0 delayed trigger

    HI all, I have a trigger that i need to run after the insertion or update is done. I know there is a code that on 2000 saying after but 7.0 doesnt have that. How can i do this on 7.0 let me see if i got this right your saying to change the program coding which on every update it should run this sp that has the trigger coding. If so, not possible because the coding that has all the updates to the table is all around the place there is more then 300 sp's in the system that needs modification. Not possible. I have to do something in the trigger. Change in status: The trigger is ok, after inserting the changing to see what was happenning in the table i noticed the table is getting updated correctly in time. It was a co ...Show All

  • Audio and Video Development No sound with Windows Vista

    I have a Dell Inspiron E1705. I just downloaded Vista Beta and love it. Except for hot having any sound. My speaker volume is up and not muted. All updates are complete. I did a driver update and it gave an up to date message. Any suggestions Thank you for your time, BD Hello! I have just put a fresh copy of Vista onto my machine, it has picked everything up apart from my on board sound ALC655. I have been to the realtek site and downloaded the driver and installed it and nothing.....windows reports the driver has installed but in device manager i still get "unknown multimedia device". THis is getting really annoying i have removed the hardware and tried installing the driver that way and nothing.....my next p ...Show All

  • .NET Development Interop unmanaged memory handling

    Hi, I am currently doing some Interop experiment and would like to know how to manage the memory allocated in unmanaged code. For example, for the following code, how can I free up *b == vcdll.cpp ======================================================== #include <windows.h> extern "C" __declspec(dllexport) void myTest(LPWSTR a, LPWSTR *b) { *b = new WCHAR[128]; wsprintf(*b, TEXT("Good %s"), a); } == Form1.cs ========================================================= using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace VCS { public partial class Form1 ...Show All

  • Visual Studio Team System DataPro project location and form for Database File definitions

    Hello, Where inside a DataPro project should I be placing script files to configure the initial size, maximum size, and growth rate of the data and transaction log files that make up the database Also, how do I format these scripts I could use an ALTER DATABASE ... MODIFY FILE (...) statement to configure the maximum size and growth rate of a file but where do I get the database name and data/log file names from so that when the project settings change to deploy to a different database, my script is still correct How do I set the initial size of the database and log Thank you, - Jason Please see my blog on Idempotent Scripts Required,m which has a sample on what you are trying to do. http://blogs.msd ...Show All

©2008 Software Development Network