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

Software Development Network >> Julian V's Q&A profile

Julian V

Member List

RichardCUK
luckymaheshwari
schalti
Dirk Reske
jeffery chan
Arjun B
slugonamission
Ofir Epstein
rkwarning
Wojtek
nhaas
Computer Guy69146
Vhradice
Reuben B
fhunter
adrian tompa
Tomik
nikitaj
Kanhaiya
IceAngel89
Only Title

Julian V's Q&A profile

  • Software Development for Windows Vista creating custom activity

    Hi, I want to create a custom activity that opens a property window on drag & drop, & asks for some parameters(eg: website url). It can be used in a workflow as a browse Activity. Need suggestions. Thanks Create a custom toolbox item, deriving from ActivityToolboxItem if you like. Then in the CreateComponentsCore method, you can pop up your UI for the properties. Once you have the properties, you create an instance of your component/activity then return it in an array. Matt ...Show All

  • Visual Studio 2008 (Pre-release) Possible bug in pagination? AND (() = ())

    I tried to make the simple project using DLinq and found this issue: var v = ( from blog in db.Blogs orderby blog.BlogID select new { BlogName = blog.BlogName, Login = blog. User . Login , NumEntries = blog.Entries.Count, LastPost = blog.Entries.Max(ee => ee.CreateDate), Entries = blog.Entries.OrderByDescending(e1 => e1.CreateDate).Take(5) }).Skip(20).Take(10).ToList(); is translated to : SELECT TOP 10 [t0].[BlogName], [t1].[Login], ( SELECT COUNT(*) FROM [Entries] AS [t9] WHERE [t9].[EntryID] = [t0].[BlogID] ) AS [NumEntries], ( SELECT MAX([t10].[CreateDate]) FROM [Entries] AS [t10] WHERE [t10].[EntryID] = [t0].[BlogID] ) AS [LastPost], ( SELECT COUNT(*) FROM ( SELECT TOP 5 NULL AS [EMPTY] ...Show All

  • Windows Forms Test if a mysettings.value exists / is defined, How?

    How do I test if a My.Settings.Value has been defined If I try "if My.Settings.Item IsNot nothing then" then I get an exception saying MySetting.Item was not found. Essentially I want to find out if it exists before referencing it. ...Show All

  • Visual C++ Linker error with jpeg.lib

    When I try to b ild my project with this library, I always get this error: LINK : fatal error LNK1104: cannot open file 'jpeg.lib' Here is my build log Creating temporary file "c:\Documents and Settings\Berk\Belgelerim\Visual Studio Projects\GL Framework\Debug\RSP000001.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP ".\Image\Tga.cpp" ".\App\MainApp.cpp" ".\Image\Jpeg.cpp" ".\App\GL.cpp" ".\Camera\CCamera.cpp" ".\Image\Bitmap.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Berk\Belgeleri ...Show All

  • Visual Studio Tools for Office Loading samples and some question about VSTO SE

    Thank, I new to VSTO world, I need to create addins for outlook 2003 with VisualStudio 2005. My setup: Visual Studio 2005 SP1 English VSTO SE english Office 2003 SP2 French I downalod and install VSTO SE tool without problem. After reading a lot on the MSND documentation I start trying some small code. For example I try to add a TaskPane with this function: Microsoft.Office.Tools.CustomTaskPane But CustomTaskPane are not member of Microsoft.Office.Tools on my system. It is normal I also downlaod the VSTO-Outlook Sample.msi to try some sample, but when I try to open it in VS2005 I got this error: One or more projects in the solution could not be loaded for the following reason: - The application for the project is not install ...Show All

  • Visual Studio Express Editions Accessing an ODBC data source with Visual C++ Express

    I can't find any example code in the MSDN documentation that demonstrates the use of Open Database Connectivity (ODBC) (e.g. CDatabase, CRecordset, ...etc). I want to write a simple C++ program that reads from and adds records to a MS Access database. I thought this would be a simple matter but I've spent two days on it so far! I've installed Visual C++ Express 8.0 and also the 'Microsoft Platform SDK for Windows Server 2003 R2' which I was under the impression I needed. However, now I'm having problems compiling some of the MFC libraries such as afxdb.h. Then I read in a forum comment that you can't use MFC with VC Express! Has anyone got sample code Bill. Dennis I looked at the ODBC Progr ...Show All

  • SQL Server Comparing schemas

    Hi, I am using sql express with our application, and we already have one version of database with the customer. Now we changed database design due to some additional features. So with the new update I would like to update the old database design also. How can I compare the old database schema with new schema Can anybody tell me how generally this process of database design update occurs Thanx This is not so much an SMO issue, but more a schema management issue.  You should take a look at the new Visual Studio Team Edition for Database Professionals that's shipping next week.  CTP 7 is currently available for download here: http://www.microsoft.com/downloads/details.aspx fa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compatibility with Vista?

    Does anyone know when it will be c ompatible with windows vista It installs but it gives me a bunch of errors while installing. So I'm guessing this is a Windows Vista issue Or maybe it's something else... At this time we do not support XNA Game Studio Express on Windows Vista. We currently don't have an estimated timeline for support. But when we do, we'll update the FAQ on our Developer Center: http://msdn.microsoft.com/directx/xna/faq/ Thanks! ...Show All

  • .NET Development CreateProcessAsUser failed

    For some reason i need to spawn a seperate process executed in another users context. The Assembly will be used within normal applications and asp.net webapplications also. I already got the WindowsIdentity of the new user and so i can impersonate this user for the running process. Next i tried to use the CreateProcessAsUser-Method described in KB article 889251 (http://support.microsoft.com/default.aspx scid=kb;EN-US;889251), but this failed with error 1314 (A required privilege is not held by the client.) This happens on WinXP and 2k3 Server, the "Replace a process level token" user right is applied to the impersonated user. If i run my test program as the user i want to impersonate, it runs fine. What did i miss, any idea than ...Show All

  • Visual Basic Auto Append and semi complete Form

    I open a form with a Tableadapter to which I have created a query based on a field on the form which I populate from the previous opening form. This displays the results of a query which shows header records and a Datagrid view of the linked many transactions. (Like a simple Invoice Header and Transaction lines details tables) What I would like to happen, is that when no data is returned by the query, the form automatically appends a new record and fills in certain information (ie the Account) which is already known. This would be done in the onLoad event, but I do not seem to get the data to 'autofill' Any help or direction to look in would be appreciated. The MSDN help just seems to lead me round in circles (although I may ju ...Show All

  • Visual Studio Team System List of Workspaces for a given Team Project

    Hi, How to get list of all workspaces for a given Team Project irrespective of User Name Please provide some pointers. This should do. Please keep in mind - this is just code sample. //We query for all workspaces on server, no constraints Workspace [] workspaces = vcs.QueryWorkspaces( null , null , null ); String teamProjectName = "xxxx" ; Dictionary < Workspace , Object > teamProjectWorkspaces = new Dictionary < Workspace , object >(); foreach ( Workspace w in workspaces) { foreach ( WorkingFolder wf in w.Folders) { if (!wf.IsCloaked) { String serverItem = wf.ServerItem; if (teamProjectName.Equals( VersionCon ...Show All

  • SQL Server Conditional SQL Insert Query

    I have a simple ms access table with no primary key. I want to check if the value exists before it exists. I know there is way to do that directly using a insert clause without having a select statement but cannot seem to get it right. Any help would be greatly appreciated. Regards, Vibhu Bansal. not sure if this is what you need but you can give it a try... INSERT INTO <table> (field1, field2...) VALUES (value1, value2...) WHERE (SELECT COUNT(*) FROM <table> WHERE <ColumnToCheck> = <ValueToCompare>) > 0; ...Show All

  • Visual Studio 2008 (Pre-release) HTML, XBAP, Navigation

    Hello everyone. Here's the situation. I have some web-based avalon application. If I want user to go away from this xbap-page I use the <Hyperlink>. For expamle if I want that the user go to the http://somesite.com/somepage.html adress I do this : <Hyperlink NavigateUri=" http://somesite.com/somepage.html ">Click Here</Hyperlink > . The xpab page closes and user goes away. It's ok. But Here's another situation. I have some html-page (based on PHP) which allows to enter a password and a login to get the required information. Here's an example of such html code: <FORM method="post" action="auth.php" > User Name:<br> <input type="text" name="login&quo ...Show All

  • Software Development for Windows Vista Power icon problem

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! You're welcome (for the additional information). I also think it seems to be hardware-specific. And the reason why, is because I f ...Show All

  • Windows Forms Is it possible to convert a ListItem object to an Image object?

    Hello, I'm working on a web app that will display the image of a selected image file listed in a ListBox. I have gotten the file names to show in the ListBox but can't figure out how to get a selected item's image to show in the image box control. Would someone help me with some psuedo code or something Here's what I have: foreach ( FileInfo objPhoto in objPhotos) { lbxFiles.Items.Add(objPhoto.Name); // check if image file exists if (lbxFiles.SelectedItem != null ) { // add image object to image box Image objImage = new Image (); objImage = ( Image )(( ListItem )lbxFiles.SelectedItem); objImage.ImageUrl = objPhoto.FullName.Substring(Request.PhysicalApplicationPath.Length); objImage.W ...Show All

©2008 Software Development Network