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

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

doank

Member List

Gianpi
kbromer
roni102
Chris Lively
DanR1
Cpt Rick
xplosiv_1
MuscleHead
Azrael Shadow
efriese
Sneak
Syed Rahman Mashwani
Laurent Kempé
Chris D Jones
PikachuTrAiNeR
Wilk06
A.F.B
George2
Walter R
Duncan_
Only Title

doank's Q&A profile

  • Smart Device Development How to play an audio file (.wav) in WM 5.0 SP?

    Hello. In project Visual Studio 2005, Visual Basic, Windows Mobile 5.0 Smartphone, Device Application, I have added an audio file, for example, drumpad-crash.wav. On this forum, from Mr. Ilya Tumanov (posts 3313) there is the program, which in the given project I have written down in such kind: Public Enum PlaySoundFlags ... End Enum Public Declare Function PlaySound Lib "CoreDll.dll"( _ ByVal szSound As String, ByVal hMod As IntPtr, _ ByVal flags As PlaySoundFlags) As Integer In method Form1_Load, I have written down the next line: PlaySound("..\..\drumpad-crash.wav, IntPtr.Zero, _ PlaySoundFlags.SND_LOOP) At Start of the project, constantly (LOOP) sounds the signal, wich has been no ...Show All

  • SQL Server SQL For-loop stored procedures

    i want to grant exec permissions on all of my user stored procedures. but this process of writing 'grant exec sp_tblAction on public' for each procedure would take years. how can i write a query that loops through all stored procedures, checks if it is a user created procedured, and then grant exec permission for that procedure can it be done tx, Wilmar Wilmar, You could try something like this: --  ---------- BEGIN SAMPLE CODE ---------- DECLARE @SQL nvarchar ( max ) SET @SQL = '' --Add a where clause to the query below to limit which procedures are included in the grant... SELECT @SQL = @SQL + 'GRANT EXEC ON ' + [name] + ' TO PUBLIC' + CHAR ( 13 ) + CHAR ( 10 ) ...Show All

  • SQL Server Finding valid identity range on merge subscriber

    I am using merge replication with automatic identity range management I want to be able to give a disconnected subscriber a warning message if a certain percentage of the allocated subscriber identity range has been used - so that they can make sure they reconnect soon to obtain a new identity range I can get the current identity value OK, but I can't find a good way of finding the current permitted primary and secondary ranges The information is available in the check constraint, but I don't really want to have to parse this! CONSTRAINT [repl_identity_range_0DF907AC_40CF_4849_9BD0_2173C90A3805] CHECK NOT FOR REPLICATION (([ContactID]>(10000040000.) AND [ContactID]<=(10000050000.) OR [ContactID]>(10000050000.) AND [Co ...Show All

  • SQL Server Content Manager can't access rs properties page

    Hi, in one of our team projects users whom are members of the reporting services “content manager” role are not able to get onto the “sql server’s reporting services” properties page of their team project. Instead of that page they receive the following error message: The permissions granted to user '<UserName>' are insufficient for performing this operation. (rsAccessDenied) With four eyes we double checked that the users really have the content manager role, we also tried all kinds of role combinations with no success. The interesting thing is that as soon as they ‘only’ in the Browser role they have access to that particular page – but as expected are unable to administer their team projects reporting services. The ...Show All

  • .NET Development Splitting SELECT query to different STRING variables

    Hi, I got a question, I execute a SELECT query on a table, but how can I save those results in different variables (one variable / column) E.G.: SELECT Naam, Lidnr, Adres, Voornaam, Postcode, Gemeente FROM tblLeden WHERE (Lidnr = ) strLidnr = queries.qryKlantIDvanUitlening(strBoeknummer) strNaam = queries.qryTest(strLidnr) But when printing out strNaam I will only get column "Naam", how can I do this I want something like strNaam = queries.QryTest(strLidnr)("Naam") strAdres = queries.qryTest(strLidnr)("Voornaam") or something like this, so I can save my result for each column in a different variable I Tried using a query for every column (Naam,Adres,Voornaam...) But that makes the program kinda slow ...Show All

  • SQL Server Real-Time Data Mining Discussion

    I am about to prepare a paper concerning the field of real-time data mining. Real-time here means the process of incremental training of an existing model as soon as the data arrives. There is a number of papers introducing algorithms for incremental association analysis, incremental clustering etc. Stream mining is a field which is closely related to that. The main reason for the implementation of incremental algorithms is a) the large amount of data to be mined and b) the high rate of new data that is evolving every day. Using classical batch mining algorithms, models that are outdated for some reason, would have to be re-trained, which could be very time consuming for billions of records. And once the training is completed, the tr ...Show All

  • Visual C++ Getting error LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj)

    HI, i have ported vc++ 6.0 code to visual studio 2005. During batch build in debug mode i din't get any error.But if i build the same in release mode i am getting the following error. LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(crt0dat.obj) : error LNK2005: __get_osplatform already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(crt0dat.obj) : error LNK2005: __osplatform already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(calloc.obj) : error LNK2005: _c ...Show All

  • Software Development for Windows Vista How can I start instalation a Windows Vista os

    How can i start instalation of Windows Vista OS. I burn a DVD image, but i can not open it. I can read only a README file. What shall I do If the readme states "This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.", then you probably burned the image as a regular file. In your DVD burning software, you should use some option like "burn image" instead of copying the iso file on the DVD - this really doesn't work. It is also possible that the downloaded image is damaged. To check this, you can for example try to mount the image virtually - either using some virtual cd manager if you al ...Show All

  • Visual Studio 2008 (Pre-release) Problem generating a client proxy using svcutil

    Any suggestions Hello, I am trying my first hosted WCF application in IIS and find myself having a problem generating a client proxy using svcutil. Since my problem is different they the other posts on this topic I started a new thread. The long and short story is that when I try to generate the proxy using the command "svcutil http://localhost/hello2/service.svc" I get back the following error which seems to indicate that my assembly is not generating the service metadata and only returning the contents of the service.svc file.. Any help would be appreciated! Anthony ------------------------------------------------------------------------------- CPC220# svcutil http://localhost/hello2/service.svc ...Show All

  • Windows Live Developer Forums Out of Memory

    Hi ppl, I have a web browser in a .NET C# application that calls a Virtual Earth Map. When i minimize the application, it show a message box with an error : "Out of Memory at Line 2". However, i delete or i change the line 2 of html file and the error is the same. Is it any think that i should do to solve this problem Good Year buster Hi, I solved the problem. I dont know why, but when i change the webbrowser property ScriptErrorsSuppressed = true to ScriptErrorsSuppressed = false, the error dont appear anymore. Thanks buster ...Show All

  • Visual Studio Team System Schema Compare differences caused by extra parenthesis

    I tried schema compare for the first time and got a lot of false differences on defaults and check constraints because the script generator adds parens to numeric literals. I started by importing a schema (reverse engineering) an existing SQL 2000 db in a new SQL 2005 project, making some changes, and then doing a schema comparison between the project and the original db. Some differences were merely changing a column data type from "bit not null default (0)" to "bit not null default ((0))". I realize that the script generator loves to add parens, but could it be made intelligent enough not to add redundant ones It was observed that when Schema Compare Tools Options "Trea ...Show All

  • SQL Server Encryption Key Errors

    I got error as below: Failure sending mail: The report server has encountered a configuration error. See the report server log files for more information. Then i found error in log file as below: ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., AuthzInitializeContextFromSid: Win32 error: 5; possible reason - service account doesn't have rights to check domain user SIDs.; Info: Does that mean sth to do with SQL agent running account or SQl Server Report Service running account Thanks Nick Hi all, I have seen that I have a similar proble ...Show All

  • .NET Development TcpClient & TcpListener On Windows Vista

    Hi! I'm trying build a simple tcplistener and tcpclient in VB.net. and when tcpclient try to connect with de tcplistener always give me the same error: " No connection could be made because the target machine actively refused it" I'm using Windows Vista, and may be this is the problem, because i have tried run the same code in other pc runnig with windows xp and run correctly. I have turn off Windows Firewall, i have open the port i going to use, i dont have other other internet security program... but the problem persist. I have the same problem with others server aplications, clients can not connect with me. Has Windows Vista some security featury or something for "actively refused" extern connections How i solve this problem ...Show All

  • SQL Server Error: The script threw an exception: Object reference not set to an instance of an object.

    Anyone know what this error means and how to get rid of it Public Sub Main() Dim myMessage As Net.Mail.MailMessage Dim mySmtpClient As Net.Mail.SmtpClient myMessage.To(20) = New Net.Mail.MailAddress( me@hotmail.com ) myMessage.From = New Net.Mail.MailAddress( someone@microsoft.com ) myMessage.Subject = "as;dlfjsdf" myMessage.Priority = Net.Mail.MailPriority.High mySmtpClient = New Net.Mail.SmtpClient( "microsoft.com" ) mySmtpClient.Send(myMessage) Dts.TaskResult = Dts.Results.Success End Sub Thanks, I suggest trying to make this code work outside of the SSIS script task first. Once it works, copy it to the script task. You may find ot ...Show All

  • Visual Studio How can I get the standard Post- and Pre-build Event functionality?

    Hi there, I use VS.2005. I'm working on the custom MPF package. I want to use the stardard VS funtionality - Post- and Pre-builds. So, my questions are: 1. Is it possible to get it in principal 2. If answer for the first question is No - how can I implement somethink like that I mean how (or where) can I get the information about macros from the standard list Can anybody help me Any help will be much appreciated! Thanks. I’ve re-read all topics and decided to create one more post to sum up all the information I gathered. So this post is kind of small walkthrough. Walkthrough: How to implement Pre- and Post- Build Events support in your custom package: ...Show All

©2008 Software Development Network