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

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

Worf

Member List

Tim Mavers
RValadas
Stanley Pagenel
Cedric509
polymorphicx
Simpson474
Noel Muhleisen
Jarrado
Artil
Suncho
RajLakamana
MA2005
W.Yuan
d2army
odv
Eldoktor
LKeene
Gav KSG
Stas Kravets
Ranju_Akram
Only Title

Worf's Q&A profile

  • Visual Studio Team System The good, the bad, the ugly

    Good: First let me tell you this has already been very useful to me. When I set up our transactional replication in SQL 2005 the nonclustered indexes weren't replicating properly (even though I set the option through the GUI). Obviously the replicas were slow and since they were being used, I was unable to try to recreate the replication schema. Instead I whipped up Database Pro and did a schema compare on our publisher and subscribers and scripted out the non-clustered index. It worked perfectly and I was able to apply the scripts on our replicas. Thanks. Bad: However we are creating a new database (actually 4 different databases) in SQL 2005 using schemas, CLR, and Service Broker. I simply imported the entire database schema fro ...Show All

  • Visual C# How can we read the properties of song selected from the fileupload control

    Hi, i will upload one song from fileupload control at this time i would like to read the advanced properties of selected song, advanced properties like Album, Author, Title, Duration etc., of the selected song. How to do this Thanks Vishwanath hi vishwanatha, u may try this: Dim id As ID3V1Tag // this for mp3 //Dim w as WMAID3Tag // this for wma //w = New WMAID3Tag(tbFilename.Text) id = New ID3V1Tag(tbFilename.Text) tbTitle.Text = id.title tbArtist.Text = id.artist tbAlbum.Text = id.album tbGenre.Text = id.genre tbYear.Text = id.year.ToString tbTrack.Text = id.track.ToString tbDescription.Text = id.comment hope this can help you...:) ...Show All

  • Visual C# Regex, remove file extensions PLZ HELP !

    Hi ! Does anybody know how do I can remove all extensions of file with regex rules for example file: sdfkghsjhg3248-sdf_034--d3.org.filt.dat should be: sdfkghsjhg3248-sdf_034--d3 Right now I'm using quick fix: ^((\w*-*)+) But it is unlikely going to work with all possible filenames. PLZ HELP ! Hey there, I have looked into your problem and there is actually no way to really get just hte file name without the extension. All you can do is either remove everything and including the last dot in the filename or just take the eveything before the first dot in the filename ( which would be [\w-]+) Reason being is that filenames alone may contain dots, which is possible i can call my file my ...Show All

  • Visual Studio 2008 (Pre-release) Using web services with xbap application

    I have created an wpf browser application that relies on calling a web service. However, whenever I call the web service, I recieve a "System.Net.WebPermissions" error message. The web service is located on a different server. How do I get this to work Thank you for the help. Steve I'm struggling with this too. I've created an xbap application, and an asmx web service, but I get the System.Net.WebPermission exception every time. Both the web service and the xbap are installed on the same IIS, different virtual directories (I'm not sure that it's possible to put them in the same directory ). Has anyone ever got an xbap application to connect to a database Or even got this alleged web s ...Show All

  • Visual Basic Tough one, Share a Socket?

    Hello All, I have an off the shelf Windows app that is capable of calling a dll. Actually it calls a C++ wrapper which calls my VB.NET dll ( a VB.NET function ) and all is working fine. The VB.NET dll is designed to open a socket to a server and send messages using System.Net.Sockets. The VB.NET dll also starts a timer to send regular messages to the server in order to keep the socket open and displays a simple UI to handle additional messages that the user might want to send. All this is working fine...but here comes the problem. When the Windows app wants to send more messages it calls the dll that has previously created the UI and opened the socket that is now sending regular messages. That is to say the socket is already open an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MRT's on the xbox 360?

    With a chip dedicated to the framebuffer is it still possible to do MRT's on the 360 My initial tests suggest this is not the case but if anyone knows for sure I would appreciate it. We don't support MRT on Xbox in the current version of XNA. The underlying hardware does support MRT, but it needs to be handled in a very particular way because multiple targets tend not to fit into the 10 megabytes of EDRAM, so you have to render the scene in pieces and then stitch them together at the end of the rendering. We didn't have time to get that working in a clean and reliable way for XNA, so we decided not to expose this at all. ...Show All

  • Visual C++ LNK2019 unresolved external symbol error

    Hey everyone. Im creating a program that inputs polygon data and outputs polygon projections. When compiling some code I get the following build output. ------ Build started: Project: projection, Configuration: Debug Win32 ------ Compiling... homework6.cpp Linking... projection.obj : error LNK2019: unresolved external symbol "class vector<double> __cdecl operator*(class vector<double> &,class vector<double> &)" ( D@YA AV $vector@N@@AAV0@0@Z) referenced in function "void __cdecl parallel(void)" ( parallel@@YAXXZ) projection.obj : error LNK2019: unresolved external symbol "class vector<double> __cdecl operator*(class vector<double> &,double)" ( D@YA AV ...Show All

  • Community Chat F# (FSharp)

    Does anyone have tried F# http://research.microsoft.com/ fsharp / fsharp .aspx If so, do you have any concerns/comments/regrets about it I've tried a little bit, but didn't use as much as it can be use, so I didn't see a real big difference with C# performance, but maybe I will use it much more in the future(Since I'm doing a optimization algorithm project at school). ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. help with c#

    I am learning c++ in school however to use xna game studio it says u need c#. can anyone tell me how much of the basics i should learn of c# and maybe link me some tutiorials. thank you. Welcome! What you want to do is download Visual C# 2005 Express Edition: http://msdn.microsoft.com/vstudio/express/visualcsharp/ Then a good starting point for learning C# programming is at the following site: http://functionx.com/csharp/index.htm This should give you enough background to start playing with XNA. Some other areas of interest would be learning what Generics is and WinForms. Good luck!  ...Show All

  • Visual C++ Default window position in MFC app

    Hi all, I need to creat an app that is "docked" in th bottom right part of the desktop. It needs to stay aligned to the right and bottom at all times (It is small and I want it to apear like a small service running above th system tray. How can I get the default (and only) position of the main dialog in my MFC app to stay in the bottom right of the screen Thanks.... ...Show All

  • Windows Forms Need webBrowser to execute while app waits??

    I have an app that waits for an event (enter captcha text) upon submitting ,it goes to another page (user agreement) where i need to sendKeys yet to another submit button... my problem is the final line of code is executing before the next page loads ... I tried Thread.Sleep, but it siezes the whole app! webBrowser included.. I have no clue what to do... any ideas private void button2_Click( object sender, EventArgs e) { HtmlDocument doc = this .webBrowser1.Document; doc.GetElementById( "verificationWord" ).Focus(); SendKeys .Send(CAPTCHA.Text); SendKeys .Flush(); doc.GetElementById( "finishForm" ).Focus(); SendKeys .Send( "{ENTER}" ); SendKeys .Flush(); ...Show All

  • SQL Server Create Table with variable name

    This should be simple, but... I want to create a table in a stored proc using a variable name instead of something hard coded. I was hoping to do something like.... CREATE PROCEDURE foo -- Add the parameters for the stored procedure here @TableName char = null AS BEGIN SET NOCOUNT ON ; CREATE TABLE @TableName ( [HRMONTH] [int] NULL, [HRYEAR] [int] NULL ) ON [PRIMARY] But no combination of names '@'s , etc, allows me to use a variable name that I passed into the procedure. What am I missing I will either receive a syntax error or the procedure will create a table called TableName rather than whatever TableName really stands for... Thanks, Tom ...Show All

  • Windows Forms Assigning a NULL value to a Date Type variable

    I have a variable Dim DateDueValue As Date I want to fill it with the value from a table Dateduevalue = CType(CCADPDataSet.Tables(TableName).Rows(0).Item(DateDue1), Date) If that value is NULL I want it to fill the variable with the null value. How do I do this In VB 2005 use a Nullable(of T) to be able to assign a null to the DateDueValue Dim DateDueValue As New Nullable( Of Date ) DateDueValue = Nothing ...Show All

  • Smart Device Development Windows CE .NET or Windows Mobile 2003

    I want to buy a barcode scanner from Symbol, the MC9060-G Series. It comes either with Windows CE .NET or Windows Mobile 2003. I want to make a small application that reads barcodes and updates either a access database or a sql server express database. What would be better Windows CE .NET or Mobile 2003 Can I use VB Express to develop my application What SDK do I need Symbol now sells the MC9090-G as the replacement for the 9060. It comes in PocketPC 5 or WinCE 5. This is the best way to go unless you have a specific reason to use the older model. ...Show All

  • SQL Server SqlTransactions in a Multi-Threaded Environment

    I am currently working on a project in which I am using SqlTransaction objects with their IsolationLevel set to Serializable. I am wondering what would be the effect if multiple threads were to call this code at the same time Would the second transaction (created by the second thread on the same connection), for example, be queued until the first one (created by the first thread on the same connection) finishes Or would an exception be thrown for the second transaction In case an exception is thrown, would using the synchronization (locks) around critical sections solve the issue I guess it is easier to understand the scope of transactions in terms of multiple users, but it is confusing (for me) when I start thinking in terms of multip ...Show All

©2008 Software Development Network