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

Software Development Network >> Lawrence 007's Q&A profile

Lawrence 007

Member List

informat
Bastian W.
Scott Boyd
vsnetdeveloper
spshah
ku19832001
tirengarfio
Darrin Turner
JSanders
ASL
Pankaj11
Job Lot
Dave Britton - VERTIGO
Pockey
talraviv
Pascal Frey
ElephantMan
Peca55
bklare
dls104824
Only Title

Lawrence 007's Q&A profile

  • Visual Studio Anything special about items returned from custom tasks ?

    I am using the MS Tigris XmlRead Task to read the list of Targets in a .target file. I cannot batch over the item retrurned from the task. The behavior is the same even if I read the value returned by the task into a Property and then create an Item. I would appreciate your help. The proj file <Project DefaultTargets="list" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> <Target Name="list"> <XmlRead Prefix="n" Namespace="http://schemas.microsoft.com/developer/msbuild/2003" XPath="/n:Project/n:Target/@Name" XmlFileName="$(MSBuildProjectFile)"> <!-- I could read the Value property of the ...Show All

  • Visual Studio 2008 (Pre-release) Hosting Cider Designer in my Application

    I read that today I can't host the cider designer in my own application, it will be possible in the future to hosting the Cider designer in my application outside visual studio Regards, Gaston In my opinion, it would be better if you'd make the Cider Designer Hosting classes to not be internal. Say that you just don't give support/docs for it. That way, we would still have the option to host the designer, but one would have the find the details out by themselves. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Other benefits of the creator's club

    I was hoping that another benefit of the creators club would be automatic acceptance to the http://www.xbox.com/en-US/community/developer/default.htm xbox community developer program.  Is this a possibility   You can sign up for that now and its free, however they only except a small amount of people. They want quality of apps up so they are selective. To those who don’t know what the Community Developer Program is, it is a program that gives access to additional Xbox live user data, they have come up with thinks like Xbox 360 blogs and game score charts. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture2D init problem

    Hi People, i'm trying to create a blank Texture2D but it crash on an InvalidCallException and i really dont know why, here's the piece of code : try { buffer = new Texture2D(graphics.GraphicsDevice, graphics.BackBufferWidth, graphics.BackBufferHeight, 0, ResourceUsage.None, graphics.BackBufferFormat, ResourcePool.Managed); } catch (InvalidCallException exception) { } i have tried multiple things but none have work, any help would be greatly apreciated Thanks This looks like a common problem. Your graphics adapter seems to not support non power of 2 textures with mip maps. There are two possible solutions for this. Use power of 2 sizes (1, 2, 4 ...Show All

  • SQL Server Permissions issue- a previous windows group still has full cube rights

    Previously, a windows group was added to a 'full access users' role. It was removed and the cube was processed and deployed, replacing rights, but people in that group still have rights to see the data. They are not listed in any roles. I've looked through all local windows groups on the supporting server and the group in question is not in any groups (ie, if they were in administrators, then they'd have full access through that). The people in the group are not administrators or domain administrators either. Is there somewhere else I could check on the machine to better find the source of the problem and get the group removed I just checked if other users that never had rights could see the cube an ...Show All

  • Visual Basic Find all JPG and Convert to TIFF

    Hello Everyone, I have a folder which it have about 200 files of both JPG and TIF format. I want to write a application that loop to that folder and find all JPG file and convert it to TIFF but I don't know where to start. Can someone help or point me to any thread that could solve my problem Thank you Something as simple as this seems to work ok. Dim I As Image For Each Filename As String In My.Computer.FileSystem.GetFiles("d:\temp", FileIO.SearchOption.SearchTopLevelOnly, "*.jpg") I = Image.FromFile(Filename) I.Save("d:\temp\" & IO.Path.GetFileNameWithoutExtension(Filename) & ".tiff", System.Drawing.Imaging.ImageFormat.Tiff) Next ...Show All

  • Visual Studio Express Editions I want a window to show up that says...

    Hello all, I got a question for you awesome code guru’s out there! I want to see if a directory exists on my computer. If it does, I want a message box that says “Directory Exists” and also the message box should have both an OK button and an Exit button. I know if I put msgbox(“The Directory Exists”) I get want I want. HOWEVER that only shows an OK button. How can I get another button here that says “Exit” and when I select “Exit” it will kill the program but when I hit the OK button it continues on with the rest of my program. This is what I got so far... If My.Computer.FileSystem.DirectoryExists("C:\ProgramFiles\CA\Unicenter Software Delivery") Then I need ...Show All

  • Windows Forms Form flickering while switching between MDI children

    Hi, I am struggling to have a flicker free MDI application which has Multiple child windows. All the child windows are very rich in nature. The parent MDI only has a panel (docked) with some buttons in it to move between the child screens. All the child windows are invoked in the maximize mode. There are two scenarios: 1. Painting the child windows: The MDI is invoked and the child windows are invoked for the first time. Here the flicker is quite perceptible. I understand that the forms and the controls are getting painted for the first time and hence the flicker. However is it possible to paint the complete screen in the background and then show the form in one shot so that we don't see the transition. I have tried double buffer ...Show All

  • Visual Studio Windows installer problems

    I ran into some virus problems a few days ago and thought that I had fixed them.  I then received access to install Visual Studio 2005 and Windows XP PRO embed SP2.  I checked for comapatibility of XP PRO with my computer and everything checked out fine.  I was too hasty in the install of XP PRO and forgot to make a system restore point before the install.  After the install everything seemed to work just fine but then windows installer popped up.  The windows installer box just says "initializing installation" and does nothing else.  If i click cancel on the box, it says "canceling installation" but does not go away.  Eventually it will give a message that says "retry or cancel" and I hit cancel and then ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game Components - help!

    Hello, I'm just starting out with XNA (and it's the first language I've tried that doesn't include the word basic...) but have found myself a bit stuck whilst trying to use GameComponents. I followed the rather excellent tutorial for creating a tile engine at XnaResources and now have a fully functioning game component that draws & controls my tile map to screen - my idea being to create a simple 2D RPG, but first I want to build a map creator/editor that uses the tile engine to display & scroll the map. So far so good - I've written a (very) basic interface that allows me to enter the name of the text file that stores the map data and then displays it on the screen. But where I've hit a wall is that anything I do in my main game i ...Show All

  • .NET Development Trouble with Transaction & OLEDB

    I have the following code: Imports System.Transaction ... Using trScope = New TransactionScope Try Me .Repar1TableAdapter.Insert(xxx data ) Me .Repar2TableAdapter.Insert(xxx data) Me . ReparObsTableAdapter.Insert(xxx data) Catch ex As Exception MsgBox( "Error de Insert ..." ) End Try trScope.Complete() trScope.Dispose() End Using I have a conection to access database: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=R:\Reparaciones.mdb" I'm getting a exception on the first Insert: Message="El proveedor 'Microsoft.Jet.OLEDB.4.0' no admite la interfaz ITransactionLocal. Las transacciones locales no estan disponibles con el ...Show All

  • Visual Basic chat application : text wont change (tried invoke, its not the problem)

    Hello, I have resumed a project i started a while back and have stumbled upon a problem. On a form i have a richtextbox with readonly = true. here is a sample of the chat packet parsing Case packet.chat If chatopen = False Then Dim t As New Thread(AddressOf cht_open) t.Start() chatopen = True If Chat.InvokeRequired Then chat_window.Invoke(New chto(AddressOf cht_id), packets(1)) Else cht_id(packets(1)) End If If Chat.cht_txt.InvokeRequired Then Chat.cht_txt.Invoke(New chtt(AddressOf cht_txt), packets(2)) Else cht_txt(packets(2)) End If Else If Chat.cht_txt.InvokeRequired Then Chat.cht_txt.Invoke(New chtt(AddressOf cht_txt), packets(2)) Else ...Show All

  • Windows Live Developer Forums msgrp2p.xml

    This file worked for me on my computer at home but not on my computer at work! Also did not work on a colleagues computer. Tried encoding the URL and also tried the selection from the main actions menu as well as the start an activity menu after selecting a buddy. Even tried several versions of messenger. No luck FYI ... my computer at home has the latest version of messenger 8.xxx, windows XP home edition. Help appreciated Kajal The only thing I see that could be wrong, is the "Hidden" parameter, which should be "True": <AppType>0</AppType> <Hidden>True</Hidden> ...Show All

  • Visual Studio Batching and meta data

    Hi guys, i used to think batching was stupid, but now i think it is rather useful :) I have a bunch of WiX project files that need to be built into MSIs, and i am trying to achieve this with batching. My problem is how to access the custom metadata of each item. Here is an example: <ItemGroup> <WiXProjectFile Include="MyProduct.wxs" > <TargetObjectFile>MyProduct.wixobj</TargetObjectFile> <LinkableObjectFile>wixui_mondo.wixlib</LinkableObjectFile> <LinkableObjectFile>another_lib.wixlib</LinkableObjectFile> <LanguageFile>WixUI_en-us.wxl</LanguageFile> <MsiName>MyProduct.msi</MsiName> </WiXProjectFile> </ItemGr ...Show All

  • Visual C# Extract text from htmls?

    I have a bunch of HTML files, and their names are stored in a text file, in seperate lines. I wrote a function that reads the files one by one. But I need a function to search for the text between <title> </title> tags and saves it in a new string. How can I search for the text between <title> </title> tags Well your in luck, i am also recently new to C# and been learningfor few weeks now and i did similar thing to what your doing now, the code below is noobie code there is proberly a better way to do it but oh well; //create stream and open the filepath StreamReader sr = File.OpenText(fpath); // read to end of file while (!sr.EndOfStream) { //read line string str = sr.ReadLine( ...Show All

©2008 Software Development Network