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

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

astrocrep

Member List

[MSP]Daniel Oliveira
Amos Soma
tiomeg
FernandoAlvarez
nabeelfarid
Kent Boogaart
Andrei Faber
ravi_nilesh
efm01
Sanjukta
Ofir Epstein
Rush hour
chris441962
Fox Me Up
LondonSte
Azriel Cross
AlexBB
Benny Chang
Joe H
jeffrycalhoun
Only Title

astrocrep's Q&A profile

  • SQL Server Mirror goes down... Affect client transactions?

    If the mirror server goes down for any reason, then what happens to client transactions against the principle Will any client transactions fail Thanks in advance Quick answer - no, they should not be affected. However, if you have witness set-up and the principal cannot connect to both the witness and the mirror then it will stop serving the database and the transactions will fail. Take a look at this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#ETPAE Thanks, Kaloian. ...Show All

  • .NET Development Updating MSAccess DB from Excel Using Dataset

    Hi, Iam trying to update a MS Access DB from an Excel file using Dataset but whenever the program reaches the DataAdapter update method it craches and gives me an err msg, so what is the problem iam so confused Imports System.Data Imports System.Data.OleDb Dim xlsFile As String = Application.StartupPath & "/Test.xls" Dim mdbFile As String = Application.StartupPath & "/Test.mdb" Dim xlsStr As String = ("provider=Microsoft.Jet.OLEDB.4.0; data source='" & _ xlsFile & " '; " & "Extended Properties=Excel 8.0;") Dim mdbStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & mdb ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Terrain Options

    Hi Whats better for implement terrain -Use the content pipeline for load then .x file with the terrain or -implement de class for convert the pixels of .raw file in vertex with the height (y axi) dependent of de gray color I have problem whit the first option becose a can't extract the vertexs of vertexbuffer becose the vertexbuffer is WriteOnly What I can do thank's " If you are willing to restrict yourself to high end graphics cards, you can use shader 3.0 to render terrain directly from a heightfield texture entirely on the GPU (requires a shader 3.0 card, such as the very latest PC boards, or of course Xbox)." Thats sounds interesting, do you have any details, exampl ...Show All

  • Smart Device Development Battery indicator on ToolBar? How to?

    I got a requirement to place a battery indicator on the ToolBar of a .NET CF 2.0 form on Pocket PC 2003. I started by assuming that I could derive a custom control from ToolBar, and modify OnPaint to add my indicator. But to my surprise, OnPaint is in fact never called. The designer of the System.Windows.Forms.ToolBar must have gone to great lengths to hide/disable/avoid all the functionality inherited from the Control class. For example CreateGraphics is not supported ! I now have a working method using PInvoke GDI that looks OK, but feels somewhat like a HACK. What is the "correct" way to do it. I will "reveal" my code later. Hi Alex, That was my first approach, but it ha ...Show All

  • Windows Forms Timer X Seconds

    Hi, How can I create a function to wait for x seconds with a timer Like... wait_seconds(5); // is the timer function DispatchMessage(Usuario+Environment.NewLine); txtLista.Text="-Logar-"+Environment.NewLine; wait_seconds(5); // is the timer functionDispatchMessage(Senha+Environment.NewLine); txtLista.Text+="-Senha-"+Environment.NewLine; wait_seconds(5); // is the timer function DispatchMessage("listenerconfig"+Environment.NewLine); txtLista.Text+="-listenerconfig-"+Environment.NewLine; wait_seconds(5); // is the timer function ... Thanks To do it very accurate, use System.Diagnostics.StopWatch or System.Threading. Thread .Sleep ...Show All

  • Audio and Video Development Protected Content (PMP) and tee node

    Is it possible to play a protected media file in a topology using the tee node. I modified the ProtectedPlayback sample and I get MF_E_TOPO_UNSUPPORTED error after setting the topology. Thanks! Tee nodes don't actually need any PMP-signing (I'm assuming you're using MFCreateTopologyNode to create the node, and if you're not, you should be), since the code all belongs to MF; none of it is your code. The fact that you're trying but failing to get a topology with a tee node and audio working in the PMP is surprising... Does your topology work without the PMP (i.e. regular in-proc playback, like most of the playback samples do) And what exactly does the topology look like ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animation sample?

    Great work on XNA GSE 1.0! I downloaded it today and signed up for the 360 Creator's Club. Getting the basic engine code I've been working on under Windows for the past few weeks compiling and running on 360 was far easier than I was expecting (though it would be nice if the IDE had better support for projects that target both platforms). One aspect of the engine I've been avoiding for a while is mesh animation, as there has been talk around here for weeks that a sample would be released and I'd much rather start from a sample, even if it is very simplistic, than dig though the documentation enough to figure out how all the classes fit together. So my simple question is.. any updates on this sample Has it been made available and I'm j ...Show All

  • Windows Live Developer Forums Virtual Earth: Drawing Lines from each Pin

    I am using virtual Earth and reading from a xml file to display coordinates on Virtual Earth. I want to draw a line from each coordinate which is displayed by a push pin. Is there any way of doing this My xml looks like: < xml version="1.0" encoding="utf-8" > < rss version =" 2.0 " xmlns:geo =" http://www.w3.org/2003/01/geo/wgs84_pos# " > - <!-- This is a XML document generated for to Read Longitude and Latidute Co-ordinates --> < channel > - < item > < geo:lat > 53.0775816666667 </ geo:lat > < geo:long > -7.2556 </ geo:long > & ...Show All

  • Visual Basic Redistribution

    How does one redistribute PrintForm Are we limited to the provided installers Regards, - Mike Hi - Sorry I didn't realize this thread took a new direction on the EULA for print form. You can find the EULA in the install directory for the component, e.g. C:\Program Files\Microsoft Visual Basic 2005 Power Packs\PrintForm 1.0\Setup\EULA.rtf The other EULA you are pointing to above is for something else. We're still talking about license for PrintForm, right If yes, I think this is well written enough to understand the bottom line. Here is the first paragraph (I encourage you to still read it all): " Microsoft license to User for Use of the Toolkit This license governs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Starting work on my GUI system

    Well, I've hit a wall with my game's development, and since there was no GUI with XNA 1.0, I've decided to go ahead and make my own GUI system. I implemented a lot of mechanics for my game, but I need greater interaction to proceed development in a sane manner. So far I've just implemented the text drawing stuff from scratch. It uses only monospace fonts generated with BMFontGenerator without using the generated .xml file. It's decidedly minimal to use only monospace fonts, but keep in mind two things - 1) my particular game doesn't require anything more robust than monospace fonts and 2) a game's engine should be designed around the game's specifc requirements. Otherwise you're scope creepin. I remind myself constantly not to let cool ...Show All

  • Visual Studio Team System How to ensure team build exists for every solution for a TFS Project.

    Hi can anyone suggest me the way to check whether teambuild exists for a solution for a TFS project or not In addition to that i need to check whether Teambuild has run successfully for every solution in last 24 hours.I need to check all of the above programmatically using any TFS API As I mentioned in my previous post, you can use the VersionControl API to download files. Call the DownloadFile() method on the Item object. Here's list of code sample links: http://blogs.msdn.com/buckh/archive/2006/08/12/tfs-api-links.aspx Buck ...Show All

  • .NET Development Problem with select string

    Hello, I have set up a c# program that reads data from Navision tables via ODBC - connection. In Navision som fields have blankspaces like Remaing Quantity in the Item Ledger Entry table. This seems to be a problem when I execute my selectionstring. for example: // This selectionstring contains blankspaces (Aterstaende antal) and I get error. command.CommandText = "SELECT Artikeltransaktion.Artikelnr, SUM(Artikeltransaktion.Aterstaende antal) " // Here is the problem + "FROM Artikeltransaktion " + "WHERE (Artikeltransaktion.Lagerstallekod='LID') AND (Artikeltransaktion.Oppen=1) " + "GROUP BY Artikeltransaktion.Artikelnr " + "ORDER BY Artikeltransaktion.Artikelnr" ; // // This string works fine // command. ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter.Save and StreamGeometry

    Is there a reason that XamlWriter does not serialize StreamGeometry   Even when serializing a GeometryDrawing that contains a StreamGeometry, the child StreamGeometry node remains blank, even though the child Pen and Brush of the GeometryDrawing are correctly serialized. Is this behavior by design Thanks, Fred Vandervelde Hmm - did GeometryGroup used to have a Transform As it certainly doesn't appear to in the Beta2 or RTM bits. ...Show All

  • Software Development for Windows Vista InvokeWorkflowActivity1

    I'm trying to figure out how to start a workflow within a workflow. I have a Parent Workflow that has a code condition which just writes out to the console. After this activity, I have an InvokeWorkflowActivity that calls another workflow (Child). This child workflow has another code condition that just writes out to the console and then ends. The problem I'm having is that the Child workflow never runs. I did not set the Invoking Method of the InvokeWorkflowActivity1. Do I need to set this If so, it will create a method which I should use to initialize my child workflow. What does that exactly mean and look like I could not find any documentation for this. Any help is appreciated. Thanks Brad private void invokeChildWorkflow(obj ...Show All

  • Visual C# Attributes at DesignTime

    If I set an attribute on a class, I can get at that attribute when the class in question is actually executing. But I can't seem to be able to get at it in the design context. I don't mind admitting having difficulty explaining this problem The example below shows a class decorated with a Custom Attribute "DesignServiceConsumer" the constructor of which needs a Type parameter - it is intended to be, invariably, the Type requesting the service. Additionally the class has a standard Attribute "Designer" it requires the Type that performs design services (pre & post filtering of properties etc) on behalf of catActionCombo. In this case when catActionCombo executes, other classes can locate and interrogate the ...Show All

©2008 Software Development Network